netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Felix Janda <felix.janda@posteo.de>
To: netfilter-devel@vger.kernel.org
Subject: [libmnl PATCH 2/2] examples/netfilter: Include <endian.h> for be64toh
Date: Sat, 16 May 2015 12:40:03 +0200	[thread overview]
Message-ID: <20150516103750.GL14201@euler> (raw)

Signed-off-by: Felix Janda <felix.janda@posteo.de>
---
 examples/netfilter/nfct-daemon.c | 1 +
 examples/netfilter/nfct-dump.c   | 1 +
 2 files changed, 2 insertions(+)

diff --git a/examples/netfilter/nfct-daemon.c b/examples/netfilter/nfct-daemon.c
index a4ef0af..a97c2ec 100644
--- a/examples/netfilter/nfct-daemon.c
+++ b/examples/netfilter/nfct-daemon.c
@@ -3,6 +3,7 @@
  *
  * This example is placed in the public domain.
  */
+#include <endian.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
diff --git a/examples/netfilter/nfct-dump.c b/examples/netfilter/nfct-dump.c
index 25ccf2c..114af61 100644
--- a/examples/netfilter/nfct-dump.c
+++ b/examples/netfilter/nfct-dump.c
@@ -1,4 +1,5 @@
 /* This example is placed in the public domain. */
+#include <endian.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
-- 
2.3.6

             reply	other threads:[~2015-05-16 10:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-16 10:40 Felix Janda [this message]
2015-05-25 18:53 ` [libmnl PATCH 2/2] examples/netfilter: Include <endian.h> for be64toh 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=20150516103750.GL14201@euler \
    --to=felix.janda@posteo.de \
    --cc=netfilter-devel@vger.kernel.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).