Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 1 | From 94e9a082d76414f82794b0c9817d0c24e3868275 Mon Sep 17 00:00:00 2001 |
| 2 | From: Kylie McClain <somasis@exherbo.org> |
| 3 | Date: Sat, 21 May 2016 21:24:36 -0400 |
| 4 | Subject: [PATCH] ndptool: Fix compilation on musl libc |
| 5 | |
| 6 | FD_ZERO, fd_set, etc are defined within sys/select.h on musl. |
| 7 | |
| 8 | Signed-off-by: Kylie McClain <somasis@exherbo.org> |
| 9 | Signed-off-by: Jiri Pirko <jiri@mellanox.com> |
| 10 | --- |
| 11 | utils/ndptool.c | 1 + |
| 12 | 1 file changed, 1 insertion(+) |
| 13 | |
| 14 | diff --git a/utils/ndptool.c b/utils/ndptool.c |
| 15 | index 1d96f4c..96479fa 100644 |
| 16 | --- a/utils/ndptool.c |
| 17 | +++ b/utils/ndptool.c |
| 18 | @@ -28,6 +28,7 @@ |
| 19 | #include <arpa/inet.h> |
| 20 | #include <errno.h> |
| 21 | #include <ndp.h> |
| 22 | +#include <sys/select.h> |
| 23 | |
| 24 | enum verbosity_level { |
| 25 | VERB1, |