diff mbox

[libmnl,2/2] examples/netfilter: Include <endian.h> for be64toh

Message ID 20150516103750.GL14201@euler
State Accepted
Delegated to: Pablo Neira
Headers show

Commit Message

Felix Janda May 16, 2015, 10:40 a.m. UTC
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(+)

Comments

Pablo Neira Ayuso May 25, 2015, 6:53 p.m. UTC | #1
Applied.
--
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 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>