1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-11 20:58:28 +02:00
openwrt-xburst/target/linux/generic/patches-3.0/101-perf_arm_uclibc.patch
florian 8be08aa65d [kernel] add 101-perf_arm_uclibc.patch to 3.0 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27909 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-05 13:48:31 +00:00

14 lines
282 B
Diff

--- 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 {