summaryrefslogtreecommitdiff
path: root/tools/perf/tests/pfm.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/tests/pfm.c')
-rw-r--r--tools/perf/tests/pfm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/tests/pfm.c b/tools/perf/tests/pfm.c
index 2e38dfa34b6c..fca4a86452df 100644
--- a/tools/perf/tests/pfm.c
+++ b/tools/perf/tests/pfm.c
@@ -4,6 +4,7 @@
*
* Copyright 2020 Google LLC.
*/
+#include <errno.h>
#include "tests.h"
#include "util/debug.h"
#include "util/evlist.h"