From: Jan Engelhardt Date: Mon, 1 Aug 2011 18:14:57 +0000 (+0200) Subject: build: workaround broken linux-headers on RHEL-5 X-Git-Tag: v1.4.12.1~33^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41a9b481693b4c43c16d0588cc558dd455168af0;p=thirdparty%2Fiptables.git build: workaround broken linux-headers on RHEL-5 maigc.h was not invented yet, but they do not ship proc_fs.h either, duh. Signed-off-by: Jan Engelhardt --- diff --git a/iptables/xtables.c b/iptables/xtables.c index 1a5e568c..233efa30 100644 --- a/iptables/xtables.c +++ b/iptables/xtables.c @@ -37,6 +37,8 @@ # include /* for PROC_SUPER_MAGIC */ #elif defined(HAVE_LINUX_PROC_FS_H) # include /* Linux 2.4 */ +#else +# define PROC_SUPER_MAGIC 0x9fa0 #endif #include