[PATCH 4/7] build: workaround broken linux-headers on RHEL-5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



maigc.h was not invented yet, but they do not
ship proc_fs.h either, duh.

Signed-off-by: Jan Engelhardt <jengelh@xxxxxxxxxx>
---
 iptables/xtables.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/iptables/xtables.c b/iptables/xtables.c
index 1a5e568..233efa3 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>
-- 
1.7.3.4

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux