From a1187fff744cf407c010fb52a482950d958dbf02 Mon Sep 17 00:00:00 2001 From: laforge Date: Mon, 6 Aug 2001 18:50:21 +0000 Subject: - added patch to support statically linking of iptables - iptables-save/-restore is no longer experimental --- include/iptables_common.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include/iptables_common.h') diff --git a/include/iptables_common.h b/include/iptables_common.h index dff849e..12b5797 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*/ -- cgit v1.2.3