forked from pool/iptables
Jan Engelhardt
3b61f64323
OBS-URL: https://build.opensuse.org/package/show/security:netfilter/iptables?expand=0&rev=23
31 lines
860 B
Diff
31 lines
860 B
Diff
parent 67156c0b9a3d35f5e7836e5683d8ca0b46ac36ca (v1.4.11.1-34-g67156c0)
|
|
commit 41a9b481693b4c43c16d0588cc558dd455168af0
|
|
Author: Jan Engelhardt <jengelh@medozas.de>
|
|
Date: Mon Aug 1 20:14:57 2011 +0200
|
|
|
|
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>
|
|
---
|
|
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>
|
|
--
|
|
# Created with git-export-patch
|