diff mbox

Fix test building on musl libc

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

Commit Message

Kylie McClain July 21, 2016, 4:10 a.m. UTC
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(+)

Comments

Pablo Neira Ayuso July 21, 2016, 4:25 p.m. UTC | #1
On Thu, Jul 21, 2016 at 12:10:45AM -0400, Kylie McClain wrote:
> From: Kylie McClain <somasis@exherbo.org>
> 
> On musl libc, sys/select.h is where FD_* definitions are located.

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
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>