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