summaryrefslogtreecommitdiff
path: root/tools/perf/bench/futex.c
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2025-11-09 17:31:52 -0800
committerNamhyung Kim <namhyung@kernel.org>2025-11-13 23:03:11 -0800
commitca016b6527e154013693722a2cdbec7c05fb6df7 (patch)
tree82a9908c6d52dac7d256ec93e47a41e0606eed1d /tools/perf/bench/futex.c
parent754187ad73b73bcb44f106a8e5fc88789beff1bd (diff)
perf auxtrace: Remove errno.h from auxtrace.h and fix transitive dependencies
errno.h isn't used in auxtrace.h so remove it and fix build failures caused by transitive dependencies through auxtrace.h on errno.h. Signed-off-by: Ian Rogers <irogers@google.com> Reviewed-by: James Clark <james.clark@linaro.org> Signed-off-by: Namhyung Kim <namhyung@kernel.org>
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>