hc
2023-02-13 e440ec23c5a540cdd3f7464e8779219be6fd3d95
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From 561f80b9a848be923f37bf1afedbecf92da3b2e7 Mon Sep 17 00:00:00 2001
From: Bernd Kuhls <bernd.kuhls@t-online.de>
Date: Sat, 30 Jan 2016 16:36:39 +0100
Subject: [PATCH 1/1] ndptool.c: Fix musl build
 
Fixes a build issue with the musl C library
http://autobuild.buildroot.net/results/d42/d42bebe51bbec38f131840b6bbefdc162f0ad194/build-end.log
 
Patch sent upstream: https://github.com/jpirko/libndp/pull/7
 
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 utils/ndptool.c | 1 +
 1 file changed, 1 insertion(+)
 
diff --git a/utils/ndptool.c b/utils/ndptool.c
index 04ec4e1..c6ef48c 100644
--- a/utils/ndptool.c
+++ b/utils/ndptool.c
@@ -27,6 +27,7 @@
 #include <netinet/in.h>
 #include <arpa/inet.h>
 #include <errno.h>
+#include <sys/select.h>
 #include <ndp.h>
 
 enum verbosity_level {
-- 
2.7.0.rc3