summaryrefslogtreecommitdiff
path: root/tools/perf/tests/hwmon_pmu.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/tests/hwmon_pmu.c')
-rw-r--r--tools/perf/tests/hwmon_pmu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/tests/hwmon_pmu.c b/tools/perf/tests/hwmon_pmu.c
index 151f02701c8c..4aa4aac94f09 100644
--- a/tools/perf/tests/hwmon_pmu.c
+++ b/tools/perf/tests/hwmon_pmu.c
@@ -4,6 +4,7 @@
#include "hwmon_pmu.h"
#include "parse-events.h"
#include "tests.h"
+#include <errno.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <linux/compiler.h>