Fix inclusion of pim.h like igmpproxy
[librecmc/librecmc.git] / target / linux / generic-2.6 / patches-2.6.26 / 650-pim_header.patch
1 --- linux-2.6.26/include/linux/pim.h    2008-07-13 23:51:29.000000000 +0200
2 +++ linux-2.6.26.new/include/linux/pim.h        2008-08-05 20:52:25.000000000 +0200
3 @@ -7,10 +7,10 @@
4  struct pim {
5  #if defined(__LITTLE_ENDIAN_BITFIELD)
6         __u8    pim_type:4,             /* PIM message type */
7 -               pim_ver:4;              /* PIM version */
8 +       __u8    pim_ver:4;              /* PIM version */
9  #elif defined(__BIG_ENDIAN_BITFIELD)
10         __u8    pim_ver:4;              /* PIM version */
11 -               pim_type:4;             /* PIM message type */
12 +       __u8    pim_type:4;             /* PIM message type */
13  #endif
14         __u8    pim_rsv;                /* Reserved */
15         __be16  pim_cksum;              /* Checksum */