Browse Source

fix kernel header breakage, which caused a compile error in igmpproxy on big-endian targets

SVN-Revision: 12143
Felix Fietkau 17 years ago
parent
commit
806f149413
1 changed files with 11 additions and 0 deletions
  1. 11 0
      target/linux/generic-2.6/patches-2.6.26/906-pim_h_compile_fix.patch

+ 11 - 0
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 */