Re: [netsniff-ng] [PATCH 1/2] proc.h: add missing headers

2017-05-23 Thread Tobias Klauser
Hi Baruch On 2017-04-16 at 07:22:20 +0200, Baruch Siach wrote: > ino_t and pid_t require stat.h and types.h, respectively. Fixes the following > build failure with musl libc: > > In file included from cpp.c:7:0: > proc.h:11:31: error: unknown type name ‘ino_t’ > extern int proc_find_by_inode(in

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: > .../usr/x86_64-buildroot-linux-musl/sysroot/usr/include/linux/if_arp.h:113:8: > error: