summaryrefslogtreecommitdiffstats
path: root/include/iptables.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/iptables.h')
-rw-r--r--include/iptables.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/iptables.h b/include/iptables.h
index 719db544..ac2a6b3b 100644
--- a/include/iptables.h
+++ b/include/iptables.h
@@ -51,6 +51,9 @@ struct iptables_match
struct ipt_entry_match *m;
unsigned int mflags;
unsigned int used;
+#ifdef NO_SHARED_LIBS
+ unsigned int loaded; /* simulate loading so options are merged properly */
+#endif
};
struct iptables_target
@@ -98,6 +101,9 @@ struct iptables_target
struct ipt_entry_target *t;
unsigned int tflags;
unsigned int used;
+#ifdef NO_SHARED_LIBS
+ unsigned int loaded; /* simulate loading so options are merged properly */
+#endif
};
/* Your shared library should call one of these. */