commit | 27e8a34370c6561696c442bf0032847634738611 | [log] [tgz] |
---|---|---|
author | Jonathan Gray <jsg@jsg.id.au> | Sun Nov 18 13:03:39 2018 +1100 |
committer | Tom Rini <trini@konsulko.com> | Mon Nov 26 22:52:12 2018 -0500 |
tree | d13b3a0c8064ffb730062359e820a6d9bd7dee96 | |
parent | 78371f3acd866e1b5810c9a754db9465c229809c [diff] |
tools/file2include: don't use malloc.h for malloc 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@jsg.id.au> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>