From: Harald Welte Date: Sun, 30 Mar 2003 20:26:42 +0000 (+0000) Subject: fix a compiler warning X-Git-Tag: v1.2.8-freeze~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=122e7c0808eb6f3092c1a1750bd02001efc7cfb3;p=thirdparty%2Fiptables.git fix a compiler warning --- diff --git a/extensions/libipt_recent.c b/extensions/libipt_recent.c index e38fa319..09ea9220 100644 --- a/extensions/libipt_recent.c +++ b/extensions/libipt_recent.c @@ -8,6 +8,17 @@ #include #include +/* need thos two to not fail compilation with old kernel, new userspace */ +#ifndef RECENT_NAME +#define RECENT_NAME "ipt_recent" +#endif /* RECENT_NAME */ +#ifndef RECENT_VER +#define RECENT_VER "unknown" +#endif /* RECENT_VER */ +#ifndef IPT_RECENT_NAME_LEN +#define IPT_RECENT_NAME_LEN 200 +#endif /* IPT_RECENT_NAME_LEN */ + /* Function which prints out usage message. */ static void help(void)