]> git.ipfire.org Git - thirdparty/iproute2.git/commit
iproute2: tc_bpf.c: fix building with musl libc
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Fri, 8 Apr 2016 12:59:33 +0000 (09:59 -0300)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 11 Apr 2016 22:09:57 +0000 (22:09 +0000)
commit5c5a0f3df9261340725a65f4655a2ab50fd3db4e
treeb9896dc21dabf0bbe7942c30a24c7606f3c6c73f
parent11522e7d02758653145f68bda7a6d123bdd0654b
iproute2: tc_bpf.c: fix building with musl libc

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 <gustavo@zacarias.com.ar>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
tc/tc_bpf.c