blob: 15aa94e2cc8f243d7e6ad8236f80043327c33536 [file] [log] [blame]
Brad Bishop6e60e8b2018-02-01 10:27:11 -05001From 94e9a082d76414f82794b0c9817d0c24e3868275 Mon Sep 17 00:00:00 2001
2From: Kylie McClain <somasis@exherbo.org>
3Date: Sat, 21 May 2016 21:24:36 -0400
4Subject: [PATCH] ndptool: Fix compilation on musl libc
5
6FD_ZERO, fd_set, etc are defined within sys/select.h on musl.
7
8Signed-off-by: Kylie McClain <somasis@exherbo.org>
9Signed-off-by: Jiri Pirko <jiri@mellanox.com>
10---
11 utils/ndptool.c | 1 +
12 1 file changed, 1 insertion(+)
13
14diff --git a/utils/ndptool.c b/utils/ndptool.c
15index 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,