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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Felix Janda <felix.janda@xxxxxxxxx>
---
 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
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux