Skip to contentSkip to conversation

Fix test building on musl libc

PATCH New Kylie McClain 1 participant 1 message Jul 21, 2016 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix test building on musl libc

From: Kylie McClain <[email protected]>

On musl libc, sys/select.h is where FD_* definitions are located.

---
 examples/netfilter/nfct-daemon.c | 1 +
 1 file changed, 1 insertion(+)
examples/netfilter/nfct-daemon.c +1 -0
index a97c2ec..d223ac2 100644
@@ -13,6 +13,7 @@
 #include <netinet/in.h>
 #include <inttypes.h>
 #include <errno.h>
+#include <sys/select.h>
 
 #include <libmnl/libmnl.h>
 #include <linux/netlink.h>
Signature · 1 line
2.9.0