aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-3.0/101-perf_arm_uclibc.patch
blob: e445d82ca42ce1a45ec21a9f746b0bf092143be1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- 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 {