From: Jonathan Gray Date: Sun, 18 Nov 2018 02:03:39 +0000 (+1100) Subject: tools/file2include: don't use malloc.h for malloc X-Git-Tag: v2019.01-rc1~23^2~8 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=958d46b53f3e3683a3d227a20c1935cbe88a8d65;p=oweals%2Fu-boot.git 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 Reviewed-by: Heinrich Schuchardt --- diff --git a/tools/file2include.c b/tools/file2include.c index b98af30a72..775440cba9 100644 --- a/tools/file2include.c +++ b/tools/file2include.c @@ -18,7 +18,6 @@ #include #include #include -#include /* Size of the blocks written to the compressed file */ #define BLOCK_SIZE 8