diff options
author | Florian Fainelli <florian@openwrt.org> | 2011-07-07 09:43:00 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2011-07-07 09:43:00 +0000 |
commit | a3e343b722f2fc27bfb4e5c6017734fcc9f15b06 (patch) | |
tree | 3c4044091c882f54acfc629cb426422a8e7e9622 /target/linux/generic | |
parent | 3bdc9093b38b20724231cef342c8d8ea5435e254 (diff) | |
download | master-31e0f0ae-a3e343b722f2fc27bfb4e5c6017734fcc9f15b06.tar.gz master-31e0f0ae-a3e343b722f2fc27bfb4e5c6017734fcc9f15b06.tar.bz2 master-31e0f0ae-a3e343b722f2fc27bfb4e5c6017734fcc9f15b06.zip |
fix building of perf for arm on uclibc
SVN-Revision: 27514
Diffstat (limited to 'target/linux/generic')
-rw-r--r-- | target/linux/generic/patches-2.6.39/101-perf_arm_uclibc.patch | 13 |
1 files changed, 13 insertions, 0 deletions
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 <stdlib.h> ++#ifndef __UCLIBC__ + #include <libio.h> ++#endif + #include <dwarf-regs.h> + + struct pt_regs_dwarfnum { |