From: Tom Rini Date: Tue, 27 Nov 2018 13:47:50 -0500 Subject: [U-Boot] tools/file2include: don't use malloc.h for malloc In-Reply-To: <20181118020339.11983-1-jsg@jsg.id.au> References: <20181118020339.11983-1-jsg@jsg.id.au> Message-ID: <20181127184750.GV11247@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Reviewed-by: Heinrich Schuchardt 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: