Iptables snapshot compile failure with 2.6.12 headers: - please
disregard
Andrew Hall
temp02 at bluereef.com.au
Tue Jun 28 01:23:07 CEST 2005
Here's the missing headers patch that was supplied by Tom Eastep to allow
Patrick's IPSec code changes to compile cleanly with the iptables:
diff -Naur linux-2.6.11.orig/include/linux/netfilter_ipv4.h
linux-2.6.11/include/linux/netfilter_ipv4.h
--- linux-2.6.11.orig/include/linux/netfilter_ipv4.h 2005-03-03
10:55:24.895484995 -0800
+++ linux-2.6.11/include/linux/netfilter_ipv4.h 2005-03-03
10:55:13.496133352 -0800
@@ -7,8 +7,10 @@
#include <linux/config.h>
#include <linux/netfilter.h>
+#ifdef __KERNEL__
#include <linux/netdevice.h>
#include <net/protocol.h>
+#endif
/* IP Cache bits. */
/* Src IP address. */
diff -Naur linux-2.6.11.orig/include/net/ip.h linux-2.6.11/include/net/ip.h
--- linux-2.6.11.orig/include/net/ip.h 2005-03-03 10:54:34.418212127 -0800
+++ linux-2.6.11/include/net/ip.h 2005-03-03 10:54:25.250342049 -0800
@@ -30,8 +30,10 @@
#include <linux/netdevice.h>
#include <linux/inetdevice.h>
#include <linux/in_route.h>
+#ifdef __KERNEL__
#include <linux/netfilter.h>
#include <linux/netfilter_ipv4.h>
+#endif
#include <net/route.h>
#include <net/arp.h>
#include <net/snmp.h>
More information about the netfilter-devel
mailing list