summaryrefslogtreecommitdiffstats
path: root/tools/perf/arch/x86/tests/rdpmc.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/arch/x86/tests/rdpmc.c')
-rw-r--r--tools/perf/arch/x86/tests/rdpmc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/arch/x86/tests/rdpmc.c b/tools/perf/arch/x86/tests/rdpmc.c
index 345a6a0a328b..6e67cee792b1 100644
--- a/tools/perf/arch/x86/tests/rdpmc.c
+++ b/tools/perf/arch/x86/tests/rdpmc.c
@@ -6,11 +6,13 @@
#include <sys/mman.h>
#include <sys/types.h>
#include <sys/wait.h>
+#include <linux/string.h>
#include <linux/types.h>
#include "perf-sys.h"
#include "debug.h"
#include "tests/tests.h"
#include "cloexec.h"
+#include "event.h"
#include "util.h"
#include "arch-tests.h"