summaryrefslogtreecommitdiff
path: root/tools/perf/arch/x86/tests/topdown.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/arch/x86/tests/topdown.c')
-rw-r--r--tools/perf/arch/x86/tests/topdown.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/arch/x86/tests/topdown.c b/tools/perf/arch/x86/tests/topdown.c
index 1eba3b4594ef..3ee4e5e71be3 100644
--- a/tools/perf/arch/x86/tests/topdown.c
+++ b/tools/perf/arch/x86/tests/topdown.c
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: GPL-2.0
+#include <errno.h>
#include "arch-tests.h"
#include "../util/topdown.h"
#include "debug.h"