Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0ac8e58f authored by Florian Fainelli's avatar Florian Fainelli Committed by Will Deacon
Browse files

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: default avatarFlorian Fainelli <florian@openwrt.org>
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
parent 322a8b03
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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 {