[U-Boot] tools/file2include: don't use malloc.h for malloc
Tom Rini
trini at konsulko.com
Tue Nov 27 18:47:50 UTC 2018
On Sun, Nov 18, 2018 at 01:03:39PM +1100, Jonathan Gray wrote:
> stdlib.h is the header for malloc since at least c89/c90.
> Previously this would fail to build on OpenBSD and fallback to the wrong
> header:
>
> In file included from u-boot/tools/file2include.c:21:
> u-boot/include/malloc.h:875:5: error: function-like macro
> 'CONFIG_IS_ENABLED' is not defined
>
> Signed-off-by: Jonathan Gray <jsg at jsg.id.au>
> Reviewed-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20181127/91fb262c/attachment.sig>
More information about the U-Boot
mailing list