Re: [PATCH iptables] xtables-monitor: fix build with musl libc

2018-11-17 Thread Florian Westphal
Baruch Siach wrote: > Commit 7c8791edac3 ("xtables-monitor: fix build with older glibc") > changed the code to use GNU style tcphdr fields. Unfortunately, musl > libc requires _GNU_SOURCE definition to expose these fields. > > Fix the following build failure: Applied, thanks.

[PATCH iptables] xtables-monitor: fix build with musl libc

2018-11-17 Thread Baruch Siach
Commit 7c8791edac3 ("xtables-monitor: fix build with older glibc") changed the code to use GNU style tcphdr fields. Unfortunately, musl libc requires _GNU_SOURCE definition to expose these fields. Fix the following build failure: xtables-monitor.c: In function ‘trace_print_packet’: