1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-10-02 18:26:21 +03:00

[kernel] fix building of perf for arm on uclibc

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27514 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2011-07-07 09:43:00 +00:00
parent 9211b001ce
commit 10f78687ab

View File

@ -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 <stdlib.h>
+#ifndef __UCLIBC__
#include <libio.h>
+#endif
#include <dwarf-regs.h>
struct pt_regs_dwarfnum {