From 01b287582f25cc3a8a36caee5ce13e14b9233f49 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Fri, 8 Apr 2016 09:52:55 -0300 Subject: [PATCH] iproute2: tc_bpf.c: fix building with musl libc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 status: submitted upstream tc/tc_bpf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tc/tc_bpf.c b/tc/tc_bpf.c index d94af82..042e76f 100644 --- a/tc/tc_bpf.c +++ b/tc/tc_bpf.c @@ -20,6 +20,7 @@ #include #include #include +#include #ifdef HAVE_ELF #include -- 2.7.3