]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
build: workaround broken linux-headers on RHEL-5
authorJan Engelhardt <jengelh@medozas.de>
Mon, 1 Aug 2011 18:14:57 +0000 (20:14 +0200)
committerJan Engelhardt <jengelh@medozas.de>
Mon, 1 Aug 2011 18:18:36 +0000 (20:18 +0200)
maigc.h was not invented yet, but they do not
ship proc_fs.h either, duh.

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
iptables/xtables.c

index 1a5e568c6d64b420846fca1541681947d88a7c84..233efa304b9f8656fbe8febfd971d08610cb8a91 100644 (file)
@@ -37,6 +37,8 @@
 #      include <linux/magic.h> /* for PROC_SUPER_MAGIC */
 #elif defined(HAVE_LINUX_PROC_FS_H)
 #      include <linux/proc_fs.h>       /* Linux 2.4 */
+#else
+#      define PROC_SUPER_MAGIC 0x9fa0
 #endif
 
 #include <xtables.h>