summaryrefslogtreecommitdiff
path: root/tools/perf/util/annotate-data.c
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2025-11-10 04:31:52 +0300
committerNamhyung Kim <namhyung@kernel.org>2025-11-14 10:03:11 +0300
commitca016b6527e154013693722a2cdbec7c05fb6df7 (patch)
tree82a9908c6d52dac7d256ec93e47a41e0606eed1d /tools/perf/util/annotate-data.c
parent754187ad73b73bcb44f106a8e5fc88789beff1bd (diff)
downloadlinux-ca016b6527e154013693722a2cdbec7c05fb6df7.tar.xz
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/util/annotate-data.c')
-rw-r--r--tools/perf/util/annotate-data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/annotate-data.c b/tools/perf/util/annotate-data.c
index e183c6104d59..07cf9c334be0 100644
--- a/tools/perf/util/annotate-data.c
+++ b/tools/perf/util/annotate-data.c
@@ -4,7 +4,7 @@
*
* Written by Namhyung Kim <namhyung@kernel.org>
*/
-
+#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <inttypes.h>