summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--iptables.h3
-rw-r--r--options.h2
2 files changed, 5 insertions, 0 deletions
diff --git a/iptables.h b/iptables.h
index a2c733d..491e598 100644
--- a/iptables.h
+++ b/iptables.h
@@ -21,6 +21,9 @@
#define _GNU_SOURCE /* RTLD_NEXT */
+#define _LINUX_IF_H
+#define _LINUX_IN_H
+#define _LINUX_IN6_H
#include <libiptc/libiptc.h>
#include <libiptc/libip6tc.h>
#include <xtables.h>
diff --git a/options.h b/options.h
index 6c9c0b2..307c5af 100644
--- a/options.h
+++ b/options.h
@@ -32,6 +32,8 @@
#include <netdb.h>
#include <arpa/inet.h>
#include <sys/socket.h>
+#define _LINUX_IN_H
+#define _LINUX_IN6_H
#include <netinet/in.h>
#include <netinet/ether.h>