summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/bpf-prologue.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/bpf-prologue.c')
-rw-r--r--tools/perf/util/bpf-prologue.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/bpf-prologue.c b/tools/perf/util/bpf-prologue.c
index 6cdbee119ceb..1356220a9f1b 100644
--- a/tools/perf/util/bpf-prologue.c
+++ b/tools/perf/util/bpf-prologue.c
@@ -12,6 +12,7 @@
#include "bpf-loader.h"
#include "bpf-prologue.h"
#include "probe-finder.h"
+#include <errno.h>
#include <dwarf-regs.h>
#include <linux/filter.h>