fix building of perf for arm on uclibc
SVN-Revision: 27514
This commit is contained in:
parent
3bdc9093b3
commit
a3e343b722
1 changed files with 13 additions and 0 deletions
|
@ -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 {
|
Loading…
Reference in a new issue