aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/kernel-headers
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2005-03-22 20:05:01 +0000
committerEric Andersen <andersen@codepoet.org>2005-03-22 20:05:01 +0000
commite4094f9359653f8daeb03e07439e3c12cae1d2f4 (patch)
tree03c3fdd0b0848e53589bbf1256df296ec74bbe44 /toolchain/kernel-headers
parent1c5a0151a1ece5450adaf20d055ac7a825962593 (diff)
downloadbuildroot-novena-e4094f9359653f8daeb03e07439e3c12cae1d2f4.tar.gz
buildroot-novena-e4094f9359653f8daeb03e07439e3c12cae1d2f4.zip
Add missing definition for 'struct ip_nat_multi_range_compat' so
that iptables can compile
Diffstat (limited to 'toolchain/kernel-headers')
-rw-r--r--toolchain/kernel-headers/linux-libc-headers-2.6.11.0.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/toolchain/kernel-headers/linux-libc-headers-2.6.11.0.patch b/toolchain/kernel-headers/linux-libc-headers-2.6.11.0.patch
new file mode 100644
index 000000000..f528b8b4c
--- /dev/null
+++ b/toolchain/kernel-headers/linux-libc-headers-2.6.11.0.patch
@@ -0,0 +1,18 @@
+--- linux/include/linux/netfilter_ipv4/ip_nat.h.orig 2005-03-21 16:18:40.000000000 -0700
++++ linux/include/linux/netfilter_ipv4/ip_nat.h 2005-03-21 16:23:54.000000000 -0700
+@@ -66,6 +66,15 @@
+ struct ip_conntrack_manip manip;
+ };
+
++/* For backwards compat: don't use in modern code. */
++struct ip_nat_multi_range_compat
++{
++ unsigned int rangesize; /* Must be 1. */
++
++ /* hangs off end. */
++ struct ip_nat_range range[1];
++};
++
+ #define ip_nat_multi_range ip_nat_multi_range_compat
+
+ #endif