summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/perf_events/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/perf_events/Makefile')
-rw-r--r--tools/testing/selftests/perf_events/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/perf_events/Makefile b/tools/testing/selftests/perf_events/Makefile
index fcafa5f0d34c..db93c4ff081a 100644
--- a/tools/testing/selftests/perf_events/Makefile
+++ b/tools/testing/selftests/perf_events/Makefile
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: GPL-2.0
-CFLAGS += -Wl,-no-as-needed -Wall -I../../../../usr/include
+CFLAGS += -Wl,-no-as-needed -Wall $(KHDR_INCLUDES)
LDFLAGS += -lpthread
TEST_GEN_PROGS := sigtrap_threads remove_on_exec