add 101-perf_arm_uclibc.patch to 3.0 patches
[openwrt/openwrt.git] / target / linux / generic / patches-3.0 / 101-perf_arm_uclibc.patch
1 --- a/tools/perf/arch/arm/util/dwarf-regs.c
2 +++ b/tools/perf/arch/arm/util/dwarf-regs.c
3 @@ -8,7 +8,10 @@
4 * published by the Free Software Foundation.
5 */
6
7 +#include <stdlib.h>
8 +#ifndef __UCLIBC__
9 #include <libio.h>
10 +#endif
11 #include <dwarf-regs.h>
12
13 struct pt_regs_dwarfnum {