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: >

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

Re: [netsniff-ng] [PATCH] flowtop: take PKG_CONFIG into account for libnetfilter_conntrack

2017-05-23 Thread Tobias Klauser
Hi Baruch On 2017-04-16 at 06:49:27 +0200, Baruch Siach wrote: > Use $PKG_CONFIG to determine the linker flags for libnetfilter_conntrack. This > fixes static link failure like the following: > > LD flowtop >