diff options
author | Dominique Martinet <asmadeus@codewreck.org> | 2022-04-24 07:10:22 +0200 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2022-04-25 23:24:28 +0200 |
commit | 246bdfa52f33ecfa52546ed67287de4eab165b2e (patch) | |
tree | fa98c4855f5aa4eeaccdc837f4b776a77e5a8000 /tools/bpf | |
parent | bpftool, musl compat: Replace nftw with FTW_ACTIONRETVAL (diff) | |
download | linux-246bdfa52f33ecfa52546ed67287de4eab165b2e.tar.xz linux-246bdfa52f33ecfa52546ed67287de4eab165b2e.zip |
bpftool, musl compat: Replace sys/fcntl.h by fcntl.h
musl does not like including sys/fcntl.h directly:
[...]
1 | #warning redirecting incorrect #include <sys/fcntl.h> to <fcntl.h>
[...]
Signed-off-by: Dominique Martinet <asmadeus@codewreck.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Quentin Monnet <quentin@isovalent.com>
Link: https://lore.kernel.org/bpf/20220424051022.2619648-5-asmadeus@codewreck.org
Diffstat (limited to 'tools/bpf')
-rw-r--r-- | tools/bpf/bpftool/tracelog.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 <string.h> #include <unistd.h> #include <linux/magic.h> -#include <sys/fcntl.h> +#include <fcntl.h> #include <sys/vfs.h> #include "main.h" |