diff options
author | Dominique Martinet | 2022-04-24 14:10:22 +0900 |
---|---|---|
committer | Daniel Borkmann | 2022-04-25 23:24:28 +0200 |
commit | 246bdfa52f33ecfa52546ed67287de4eab165b2e (patch) | |
tree | fa98c4855f5aa4eeaccdc837f4b776a77e5a8000 /tools/bpf | |
parent | 93bc2e9e943d20a51473a49009db3243de6e098d (diff) |
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" |