summaryrefslogtreecommitdiff
path: root/tools/perf/bench/futex.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/bench/futex.c')
-rw-r--r--tools/perf/bench/futex.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/bench/futex.c b/tools/perf/bench/futex.c
index 1481196a22f0..1968c9d00b5b 100644
--- a/tools/perf/bench/futex.c
+++ b/tools/perf/bench/futex.c
@@ -1,5 +1,6 @@
// SPDX-License-Identifier: GPL-2.0
#include <err.h>
+#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/prctl.h>