bpftool, musl compat: Replace sys/fcntl.h by fcntl.h
authorDominique Martinet <asmadeus@codewreck.org>
Sun, 24 Apr 2022 05:10:22 +0000 (14:10 +0900)
committerDaniel Borkmann <daniel@iogearbox.net>
Mon, 25 Apr 2022 21:24:28 +0000 (23:24 +0200)
commit246bdfa52f33ecfa52546ed67287de4eab165b2e
treefa98c4855f5aa4eeaccdc837f4b776a77e5a8000
parent93bc2e9e943d20a51473a49009db3243de6e098d
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
tools/bpf/bpftool/tracelog.c