Re: [netsniff-ng] [PATCH v2] pcap_io.h: fix if_arp.h musl libc/kernel headers conflict

2017-05-23 Thread Tobias Klauser
On 2017-04-16 at 13:34:00 +0200, Baruch Siach wrote: > Use libc provided arp definitions to avoid build failure with musl libc: > > In file included from pcap_io.h:19:0, > from trafgen.c:59: >

[netsniff-ng] [PATCH v2] pcap_io.h: fix if_arp.h musl libc/kernel headers conflict

2017-04-16 Thread Baruch Siach
Use libc provided arp definitions to avoid build failure with musl libc: In file included from pcap_io.h:19:0, from trafgen.c:59: .../usr/x86_64-buildroot-linux-musl/sysroot/usr/include/linux/if_arp.h:113:8: error: redefinition of ‘struct arpreq’ struct arpreq { ^ In