add 101-perf_arm_uclibc.patch to 3.0 patches

SVN-Revision: 27909
This commit is contained in:
Florian Fainelli 2011-08-05 13:48:31 +00:00
parent c99d08f050
commit a8e79cbdf8

View file

@ -0,0 +1,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 {