diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2011-08-01 20:14:57 +0200 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2011-08-01 20:18:36 +0200 |
commit | 41a9b481693b4c43c16d0588cc558dd455168af0 (patch) | |
tree | 95782569b99afbab2b9a35ed2279ebdc6eaebcdb | |
parent | 67156c0b9a3d35f5e7836e5683d8ca0b46ac36ca (diff) |
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 <jengelh@medozas.de>
-rw-r--r-- | iptables/xtables.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 <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> |