summaryrefslogtreecommitdiff
path: root/tools/perf/util/perf-hooks.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/perf-hooks.c')
-rw-r--r--tools/perf/util/perf-hooks.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/perf-hooks.c b/tools/perf/util/perf-hooks.c
index 4f3aa8d99ef4..e635c594f773 100644
--- a/tools/perf/util/perf-hooks.c
+++ b/tools/perf/util/perf-hooks.c
@@ -8,6 +8,7 @@
#include <errno.h>
#include <stdlib.h>
+#include <string.h>
#include <setjmp.h>
#include <linux/err.h>
#include <linux/kernel.h>