ARM: fix perf build with uclibc toolchains
authorFlorian Fainelli <florian@openwrt.org>
Tue, 9 Aug 2011 11:24:17 +0000 (12:24 +0100)
committerJason Kridner <jdk@ti.com>
Thu, 15 Sep 2011 18:59:06 +0000 (14:59 -0400)
commit512dc7944b8d1f805e8425d13ca4ad9cd7e92bc0
treeebf25ac439ee09c74a0f37606fa4c5e992926012
parent7091740cc65460301763cdd365cf2ccef799273a
ARM: fix perf build with uclibc toolchains

libio.h is not provided by uClibc, in order to be able to test the
definition of __UCLIBC__ we need to include stdlib.h, which also
includes stddef.h, providing the definition of 'NULL'.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
(cherry picked from commit 0ac8e58f3818795d02ac309bd57b4d93ec283a77)
tools/perf/arch/arm/util/dwarf-regs.c