summaryrefslogtreecommitdiff
path: root/tools/perf/arch/x86/util/event.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/arch/x86/util/event.c')
-rw-r--r--tools/perf/arch/x86/util/event.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/arch/x86/util/event.c b/tools/perf/arch/x86/util/event.c
index e670f3547581..55ff6aec10fd 100644
--- a/tools/perf/arch/x86/util/event.c
+++ b/tools/perf/arch/x86/util/event.c
@@ -2,6 +2,7 @@
#include <linux/types.h>
#include <linux/string.h>
#include <linux/zalloc.h>
+#include <stdlib.h>
#include "../../../util/event.h"
#include "../../../util/synthetic-events.h"