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>
Sat, 17 Sep 2011 13:14:24 +0000 (09:14 -0400)
commit2a9ff7290d9c43b91b02df18c093438ede2433f7
tree367fdeed90d157a32d28b635cc003e298cbb6f96
parent57939814f9d565c401d8fe245a19ee951815cf99
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