diff mbox

Fix test building on musl libc

Message ID 20160721035521.26816-1-somasissounds@gmail.com
State Superseded
Delegated to: Pablo Neira
Headers show

Commit Message

Kylie McClain July 21, 2016, 3:55 a.m. UTC
From: Kylie McClain <somasis@exherbo.org>

On musl libc, sys/select.h is where FD_* definitions are located.
---
 examples/netfilter/nfct-daemon.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/examples/netfilter/nfct-daemon.c b/examples/netfilter/nfct-daemon.c
index a97c2ec..d223ac2 100644
--- a/examples/netfilter/nfct-daemon.c
+++ b/examples/netfilter/nfct-daemon.c
@@ -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>