summaryrefslogtreecommitdiffstats
path: root/include/iptables_common.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2001-08-06 18:50:21 +0000
committerHarald Welte <laforge@gnumonks.org>2001-08-06 18:50:21 +0000
commit3efb6ead2e51fe1eca55bcb2b06afb4dc4b8cb7c (patch)
treed7a51c0752b5a80c8408692277f2b660ce4dfc2b /include/iptables_common.h
parent2acb25b8d54cb7430f0751dd36861499e1cd28bd (diff)
- added patch to support statically linking of iptables
- iptables-save/-restore is no longer experimental
Diffstat (limited to 'include/iptables_common.h')
-rw-r--r--include/iptables_common.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/iptables_common.h b/include/iptables_common.h
index dff849ee..12b57975 100644
--- a/include/iptables_common.h
+++ b/include/iptables_common.h
@@ -19,4 +19,11 @@ void exit_error(enum exittype, char *, ...)__attribute__((noreturn,
format(printf,2,3)));
extern const char *program_name, *program_version;
+#ifdef NO_SHARED_LIBS
+# ifdef _INIT
+# define _init _INIT
+# endif
+ extern void init_extensions(void);
+#endif
+
#endif /*_IPTABLES_COMMON_H*/