All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix test building on musl libc
@ 2016-07-21  4:10 Kylie McClain
  2016-07-21 16:25 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 3+ messages in thread
From: Kylie McClain @ 2016-07-21  4:10 UTC (permalink / raw)
  To: netfilter-devel; +Cc: Kylie McClain

From: Kylie McClain <somasis@exherbo.org>

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

Apologies for the repeated email, I realized I forgot to signoff on the commit.

Signed-off-by: Kylie McClain <somasis@exherbo.org>
---
 examples/netfilter/nfct-daemon.c | 1 +
 1 file changed, 1 insertion(+)

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>
-- 
2.9.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread
* [PATCH] Fix test building on musl libc
@ 2016-07-21  3:55 Kylie McClain
  0 siblings, 0 replies; 3+ messages in thread
From: Kylie McClain @ 2016-07-21  3:55 UTC (permalink / raw)
  To: netfilter-devel; +Cc: Kylie McClain

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 --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>
-- 
2.9.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-07-21 16:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-21  4:10 [PATCH] Fix test building on musl libc Kylie McClain
2016-07-21 16:25 ` Pablo Neira Ayuso
  -- strict thread matches above, loose matches on Subject: below --
2016-07-21  3:55 Kylie McClain

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.