netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kylie McClain <somasissounds@gmail.com>
To: netfilter-devel@vger.kernel.org
Cc: Kylie McClain <somasis@exherbo.org>
Subject: [PATCH] Fix test building on musl libc
Date: Wed, 20 Jul 2016 23:55:21 -0400	[thread overview]
Message-ID: <20160721035521.26816-1-somasissounds@gmail.com> (raw)

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


             reply	other threads:[~2016-07-21  3:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-21  3:55 Kylie McClain [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-07-21  4:10 [PATCH] Fix test building on musl libc Kylie McClain
2016-07-21 16:25 ` Pablo Neira Ayuso

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160721035521.26816-1-somasissounds@gmail.com \
    --to=somasissounds@gmail.com \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=somasis@exherbo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).