summaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/sdt.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/tests/sdt.c')
-rw-r--r--tools/perf/tests/sdt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/tests/sdt.c b/tools/perf/tests/sdt.c
index cf1bd57d3023..60f0e9ee04fb 100644
--- a/tools/perf/tests/sdt.c
+++ b/tools/perf/tests/sdt.c
@@ -3,6 +3,7 @@
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
+#include <unistd.h>
#include <sys/epoll.h>
#include <util/symbol.h>
#include <linux/filter.h>