aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/arch/arm/util/dwarf-regs.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/arch/arm/util/dwarf-regs.c')
-rw-r--r--tools/perf/arch/arm/util/dwarf-regs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/arch/arm/util/dwarf-regs.c b/tools/perf/arch/arm/util/dwarf-regs.c
index fff6450c8c9..e8d5c551c69 100644
--- a/tools/perf/arch/arm/util/dwarf-regs.c
+++ b/tools/perf/arch/arm/util/dwarf-regs.c
@@ -8,7 +8,10 @@
* published by the Free Software Foundation.
*/
+#include <stdlib.h>
+#ifndef __UCLIBC__
#include <libio.h>
+#endif
#include <dwarf-regs.h>
struct pt_regs_dwarfnum {