summaryrefslogtreecommitdiff
path: root/tools/perf/arch/x86/tests/intel-cqm.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/arch/x86/tests/intel-cqm.c')
-rw-r--r--tools/perf/arch/x86/tests/intel-cqm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/arch/x86/tests/intel-cqm.c b/tools/perf/arch/x86/tests/intel-cqm.c
index 7f064eb37158..03c62eb0106b 100644
--- a/tools/perf/arch/x86/tests/intel-cqm.c
+++ b/tools/perf/arch/x86/tests/intel-cqm.c
@@ -7,6 +7,7 @@
#include "arch-tests.h"
#include <sys/mman.h>
+#include <errno.h>
#include <string.h>
static pid_t spawn(void)