summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2011-08-13 10:43:19 +0200
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-08-13 10:43:19 +0200
commite426f8e39bb612bfdd38fa7a75d10ba95787d1af (patch)
tree37bb57051eabb390ea19bcd5ddfaebb8675e24fe /tools
parentMerge branch 'devicetree/merge' of git://git.secretlab.ca/git/linux-2.6 (diff)
parentARM: cache: detect VIPT aliasing I-cache on ARMv6 (diff)
downloadlinux-e426f8e39bb612bfdd38fa7a75d10ba95787d1af.tar.xz
linux-e426f8e39bb612bfdd38fa7a75d10ba95787d1af.zip
Merge branch '3.1-fixes-for-rmk' of git://linux-arm.org/linux-2.6-wd into fixes
Diffstat (limited to 'tools')
-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 fff6450c8c99..e8d5c551c69c 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 {