summaryrefslogtreecommitdiff
path: root/tools/perf/tests/mmap-thread-lookup.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/tests/mmap-thread-lookup.c')
-rw-r--r--tools/perf/tests/mmap-thread-lookup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/tests/mmap-thread-lookup.c b/tools/perf/tests/mmap-thread-lookup.c
index 0c5ce44f723f..6ea4d8a5d26b 100644
--- a/tools/perf/tests/mmap-thread-lookup.c
+++ b/tools/perf/tests/mmap-thread-lookup.c
@@ -1,3 +1,4 @@
+#include <inttypes.h>
#include <unistd.h>
#include <sys/syscall.h>
#include <sys/types.h>
@@ -11,6 +12,7 @@
#include "thread_map.h"
#include "symbol.h"
#include "thread.h"
+#include "util.h"
#define THREADS 4