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 | 6ba4f58bed3be5fed07bbc327020edcaf0925082 (patch) | |
tree | b36028daf7673dd819dd802e0061bc1acc2e5be2 /target/linux/generic/patches-2.6.39/101-perf_arm_uclibc.patch | |
parent | d91a77e4658f138fa3a79f79f82c0f1e76e983d9 (diff) | |
download | master-187ad058-6ba4f58bed3be5fed07bbc327020edcaf0925082.tar.gz master-187ad058-6ba4f58bed3be5fed07bbc327020edcaf0925082.tar.bz2 master-187ad058-6ba4f58bed3be5fed07bbc327020edcaf0925082.zip |
[kernel] fix building of perf for arm on uclibc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27514 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/patches-2.6.39/101-perf_arm_uclibc.patch')
-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 { |