summaryrefslogtreecommitdiff
path: root/tools/perf/bench/pmu-scan.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/bench/pmu-scan.c')
-rw-r--r--tools/perf/bench/pmu-scan.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/bench/pmu-scan.c b/tools/perf/bench/pmu-scan.c
index 9e4d36486f62..14a464ad8cea 100644
--- a/tools/perf/bench/pmu-scan.c
+++ b/tools/perf/bench/pmu-scan.c
@@ -4,6 +4,7 @@
*
* Copyright 2023 Google LLC.
*/
+#include <errno.h>
#include <stdio.h>
#include "bench.h"
#include "util/debug.h"