diff options
author | Dominique Martinet <asmadeus@codewreck.org> | 2022-04-24 08:10:22 +0300 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2022-04-26 00:24:28 +0300 |
commit | 246bdfa52f33ecfa52546ed67287de4eab165b2e (patch) | |
tree | fa98c4855f5aa4eeaccdc837f4b776a77e5a8000 /tools/bpf/bpftool/tracelog.c | |
parent | 93bc2e9e943d20a51473a49009db3243de6e098d (diff) | |
download | linux-246bdfa52f33ecfa52546ed67287de4eab165b2e.tar.xz |
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/bpftool/tracelog.c')
-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" |