Re: [PATCH] iproute2: tc_bpf.c: fix building with musl libc

2016-04-11 Thread Stephen Hemminger
On Fri, 8 Apr 2016 09:59:33 -0300 Gustavo Zacarias wrote: > We need limits.h for PATH_MAX, fixes: > > tc_bpf.c: In function ‘bpf_map_selfcheck_pinned’: > tc_bpf.c:222:12: error: ‘PATH_MAX’ undeclared (first use in this > function) > char file[PATH_MAX], buff[4096]; >

Re: [PATCH] iproute2: tc_bpf.c: fix building with musl libc

2016-04-08 Thread Daniel Borkmann
On 04/08/2016 02:59 PM, Gustavo Zacarias wrote: We need limits.h for PATH_MAX, fixes: tc_bpf.c: In function ‘bpf_map_selfcheck_pinned’: tc_bpf.c:222:12: error: ‘PATH_MAX’ undeclared (first use in this function) char file[PATH_MAX], buff[4096]; Signed-off-by: Gustavo Zacarias

[PATCH] iproute2: tc_bpf.c: fix building with musl libc

2016-04-08 Thread Gustavo Zacarias
We need limits.h for PATH_MAX, fixes: tc_bpf.c: In function ‘bpf_map_selfcheck_pinned’: tc_bpf.c:222:12: error: ‘PATH_MAX’ undeclared (first use in this function) char file[PATH_MAX], buff[4096]; Signed-off-by: Gustavo Zacarias --- tc/tc_bpf.c | 1 + 1 file changed,