kernel-6.7-xanmod/xanmod-futex2-error-avoid.patch
2021-03-24 01:01:27 +02:00

13 lines
374 B
Diff

diff --git a/tools/perf/bench/futex.h b/tools/perf/bench/futex.h
index 915bf3da7ce2..6e62e7708fde 100644
--- a/tools/perf/bench/futex.h
+++ b/tools/perf/bench/futex.h
@@ -11,7 +11,7 @@
#include <unistd.h>
#include <sys/syscall.h>
#include <sys/types.h>
-#include <linux/futex.h>
+#include "../../include/uapi/linux/futex.h"
/**
* futex() - SYS_futex syscall wrapper