From: Florian Fainelli Date: Thu, 7 Jul 2011 09:43:00 +0000 (+0000) Subject: fix building of perf for arm on uclibc X-Git-Tag: reboot~16309 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a3e343b722f2fc27bfb4e5c6017734fcc9f15b06;p=oweals%2Fopenwrt.git fix building of perf for arm on uclibc SVN-Revision: 27514 --- diff --git a/target/linux/generic/patches-2.6.39/101-perf_arm_uclibc.patch b/target/linux/generic/patches-2.6.39/101-perf_arm_uclibc.patch new file mode 100644 index 0000000000..e445d82ca4 --- /dev/null +++ b/target/linux/generic/patches-2.6.39/101-perf_arm_uclibc.patch @@ -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 ++#ifndef __UCLIBC__ + #include ++#endif + #include + + struct pt_regs_dwarfnum {