summaryrefslogtreecommitdiff
path: root/tools/perf/arch/arm64/util/dwarf-regs.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/arch/arm64/util/dwarf-regs.c')
-rw-r--r--tools/perf/arch/arm64/util/dwarf-regs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/arch/arm64/util/dwarf-regs.c b/tools/perf/arch/arm64/util/dwarf-regs.c
index f268720ff021..cd764a9fd098 100644
--- a/tools/perf/arch/arm64/util/dwarf-regs.c
+++ b/tools/perf/arch/arm64/util/dwarf-regs.c
@@ -10,6 +10,7 @@
#include <errno.h>
#include <stddef.h>
+#include <string.h>
#include <dwarf-regs.h>
#include <linux/ptrace.h> /* for struct user_pt_regs */
#include <linux/stringify.h>