From: Dominique Martinet Date: Sun, 24 Apr 2022 05:10:22 +0000 (+0900) Subject: bpftool, musl compat: Replace sys/fcntl.h by fcntl.h X-Git-Tag: howlett/maple/20220722_2~466^2~241^2~4 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=246bdfa52f33ecfa52546ed67287de4eab165b2e;p=users%2Fjedix%2Flinux-maple.git bpftool, musl compat: Replace sys/fcntl.h by fcntl.h musl does not like including sys/fcntl.h directly: [...] 1 | #warning redirecting incorrect #include to [...] Signed-off-by: Dominique Martinet Signed-off-by: Daniel Borkmann Acked-by: Quentin Monnet Link: https://lore.kernel.org/bpf/20220424051022.2619648-5-asmadeus@codewreck.org --- diff --git a/tools/bpf/bpftool/tracelog.c b/tools/bpf/bpftool/tracelog.c index e80a5c79b38f..bf1f02212797 100644 --- a/tools/bpf/bpftool/tracelog.c +++ b/tools/bpf/bpftool/tracelog.c @@ -9,7 +9,7 @@ #include #include #include -#include +#include #include #include "main.h"