From a3e343b722f2fc27bfb4e5c6017734fcc9f15b06 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Thu, 7 Jul 2011 09:43:00 +0000 Subject: [PATCH] fix building of perf for arm on uclibc SVN-Revision: 27514 --- .../patches-2.6.39/101-perf_arm_uclibc.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 target/linux/generic/patches-2.6.39/101-perf_arm_uclibc.patch 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 000000000000..e445d82ca42c --- /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 { -- 2.30.2