summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/perf/util/auxtrace.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/auxtrace.h b/tools/perf/util/auxtrace.h
index eee2c11f7666..6947f3f284c0 100644
--- a/tools/perf/util/auxtrace.h
+++ b/tools/perf/util/auxtrace.h
@@ -7,6 +7,7 @@
#ifndef __PERF_AUXTRACE_H
#define __PERF_AUXTRACE_H
+#include <sys/types.h>
#include <stdio.h> // FILE
#include <linux/perf_event.h>
#include <linux/types.h>