Re: [lng-odp] [PATCH] linux-generic: pktio: do not include net/if.h and linux/if.h

2016-02-25 Thread Maxim Uvarov
On 02/23/16 19:02, Nicolas Morey-Chaisemartin wrote: Both are incompatible: In file included from platform/linux-generic/pktio/ethtool.c:13:0: /usr/include/net/if.h:44:5: error: redeclaration of enumerator ‘IFF_UP’ IFF_UP = 0x1, /* Interface is up. */ ^ In file included from platfor

[lng-odp] [PATCH] linux-generic: pktio: do not include net/if.h and linux/if.h

2016-02-23 Thread Nicolas Morey-Chaisemartin
Both are incompatible: In file included from platform/linux-generic/pktio/ethtool.c:13:0: /usr/include/net/if.h:44:5: error: redeclaration of enumerator ‘IFF_UP’ IFF_UP = 0x1, /* Interface is up. */ ^ In file included from platform/linux-generic/pktio/ethtool.c:10:0: /usr/include/linux/