1 From 031d8ad2c3cee85c515e551fc8c0054bdedb7b8b Mon Sep 17 00:00:00 2001
2 From: Florian Fainelli <florian@openwrt.org>
3 Date: Thu, 13 Dec 2012 18:02:11 +0100
4 Subject: [PATCH] x86: fix perf build with uclibc toolchains
6 libio.h is not provided by uClibc, in order to be able to test the
7 definition of __UCLIBC__ we need to include stdlib.h, which also
8 includes stddef.h, providing the definition of 'NULL'
10 Signed-off-by: Florian Fainelli <florian@openwrt.org>
12 tools/perf/arch/x86/util/dwarf-regs.c | 3 +++
13 1 file changed, 3 insertions(+)
15 --- a/tools/perf/arch/x86/util/dwarf-regs.c
16 +++ b/tools/perf/arch/x86/util/dwarf-regs.c
25 #include <dwarf-regs.h>