musl-compat: avoid kernel header conflicts
[project/firewall3.git] / iptables.h
index 1d98b76820946ed63f26841387133a7715b421a3..491e59880714230c8d5ad038b72162fdd4e78d67 100644 (file)
@@ -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>
@@ -32,9 +35,6 @@
 
 #include "options.h"
 
-#define FW3_ID_MAGIC   0x66773300      /* 'f' 'w' '3' */
-#define FW3_ID_MASK            0xffffff00
-
 /* xtables interface */
 #if (XTABLES_VERSION_CODE == 10 || XTABLES_VERSION_CODE == 11)
 # include "xtables-10.h"
@@ -76,8 +76,6 @@ struct fw3_ipt_rule {
        struct xtables_rule_match *matches;
        struct xtables_target *target;
 
-       int id;
-
        int argc;
        char **argv;