summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2011-08-13 09:43:19 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-08-13 09:43:19 +0100
commite426f8e39bb612bfdd38fa7a75d10ba95787d1af (patch)
tree37bb57051eabb390ea19bcd5ddfaebb8675e24fe /tools
parent73e0881d31406acc09eb11fa073108b43c89124e (diff)
parent72dc53acd50db066a5a5ebe1f39fae73d7e62aa8 (diff)
downloadlinux-3.10-e426f8e39bb612bfdd38fa7a75d10ba95787d1af.tar.gz
linux-3.10-e426f8e39bb612bfdd38fa7a75d10ba95787d1af.tar.bz2
linux-3.10-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 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 {