2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-30 16:13:54 +08:00
linux-next/tools/perf/arch
Cody P Schafer 861e10be08 perf tools: Fix build on non-glibc systems due to libio.h absence
Including libio.h causes build failures on uClibc systems (which lack
libio.h).

It appears that libio.h was only included to pull in a definition for
NULL, so it has been replaced by stddef.h.

On powerpc, libio.h was conditionally included, but could be removed
completely as it is unneeded. Also, the included of stdlib.h was changed
to stddef.h (as again, only NULL is needed).

Signed-off-by: Cody P Schafer <cody@linux.vnet.ibm.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1363300074-26288-1-git-send-email-cody@linux.vnet.ibm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2013-03-15 13:05:13 -03:00
..
arm perf tools: Fix build on non-glibc systems due to libio.h absence 2013-03-15 13:05:13 -03:00
powerpc perf tools: Fix build on non-glibc systems due to libio.h absence 2013-03-15 13:05:13 -03:00
s390 perf tools: Fix build on non-glibc systems due to libio.h absence 2013-03-15 13:05:13 -03:00
sh perf tools: Fix build on non-glibc systems due to libio.h absence 2013-03-15 13:05:13 -03:00
sparc perf tools: Fix build on non-glibc systems due to libio.h absence 2013-03-15 13:05:13 -03:00
x86 perf tools: Fix build on non-glibc systems due to libio.h absence 2013-03-15 13:05:13 -03:00
common.c perf tools: Fix possible double free on error 2013-01-30 10:37:41 -03:00
common.h perf tools: Try to find cross-built objdump path 2012-10-24 14:20:11 -02:00