summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-08-05 17:33:09 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-08-05 17:33:09 +0000
commit22738f2f4806d7ab704ff932d1f6a40a95f5e389 (patch)
treed51238681841619b801a15db7e0fc8b97699186c
parentf51879e351ed9a4397cdbdacebf5d8653f937503 (diff)
fix kernel header breakage, which caused a compile error in igmpproxy on big-endian targets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12143 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/generic-2.6/patches-2.6.26/906-pim_h_compile_fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.26/906-pim_h_compile_fix.patch b/target/linux/generic-2.6/patches-2.6.26/906-pim_h_compile_fix.patch
new file mode 100644
index 0000000000..51ca9746c2
--- /dev/null
+++ b/target/linux/generic-2.6/patches-2.6.26/906-pim_h_compile_fix.patch
@@ -0,0 +1,11 @@
+--- a/include/linux/pim.h
++++ b/include/linux/pim.h
+@@ -9,7 +9,7 @@
+ __u8 pim_type:4, /* PIM message type */
+ pim_ver:4; /* PIM version */
+ #elif defined(__BIG_ENDIAN_BITFIELD)
+- __u8 pim_ver:4; /* PIM version */
++ __u8 pim_ver:4, /* PIM version */
+ pim_type:4; /* PIM message type */
+ #endif
+ __u8 pim_rsv; /* Reserved */