Skip to content

Commit b29f852

Browse files
martinetdKernel Patches Daemon
authored andcommitted
tools/bpf: 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 <[email protected]>
1 parent 952f2e1 commit b29f852

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/bpf/bpftool/tracelog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#include <string.h>
1010
#include <unistd.h>
1111
#include <linux/magic.h>
12-
#include <sys/fcntl.h>
12+
#include <fcntl.h>
1313
#include <sys/vfs.h>
1414

1515
#include "main.h"

0 commit comments

Comments
 (0)