summaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/openat-syscall-tp-fields.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/tests/openat-syscall-tp-fields.c')
-rw-r--r--tools/perf/tests/openat-syscall-tp-fields.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/tests/openat-syscall-tp-fields.c b/tools/perf/tests/openat-syscall-tp-fields.c
index f52239fed361..9788fac91095 100644
--- a/tools/perf/tests/openat-syscall-tp-fields.c
+++ b/tools/perf/tests/openat-syscall-tp-fields.c
@@ -5,6 +5,7 @@
#include "thread_map.h"
#include "tests.h"
#include "debug.h"
+#include <errno.h>
#ifndef O_DIRECTORY
#define O_DIRECTORY 00200000