aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/libunwind/x86_32.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/libunwind/x86_32.c')
-rw-r--r--tools/perf/util/libunwind/x86_32.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/libunwind/x86_32.c b/tools/perf/util/libunwind/x86_32.c
index 21c216c40a3b..420c690a3c54 100644
--- a/tools/perf/util/libunwind/x86_32.c
+++ b/tools/perf/util/libunwind/x86_32.c
@@ -21,6 +21,7 @@
#define LIBUNWIND__ARCH_REG_IP PERF_REG_X86_IP
#define LIBUNWIND__ARCH_REG_SP PERF_REG_X86_SP
+#include <errno.h>
#include "unwind.h"
#include "libunwind-x86.h"
#include <../../../../arch/x86/include/uapi/asm/perf_regs.h>