summaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/wp.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/tests/wp.c')
-rw-r--r--tools/perf/tests/wp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/tests/wp.c b/tools/perf/tests/wp.c
index 982ac55d69ea..d262d6639829 100644
--- a/tools/perf/tests/wp.c
+++ b/tools/perf/tests/wp.c
@@ -1,10 +1,13 @@
// SPDX-License-Identifier: GPL-2.0
#include <stdlib.h>
+#include <string.h>
#include <unistd.h>
#include <sys/ioctl.h>
#include <linux/hw_breakpoint.h>
+#include <linux/kernel.h>
#include "tests.h"
#include "debug.h"
+#include "event.h"
#include "cloexec.h"
#include "../perf-sys.h"