From: Jonathan Gray Date: Fri, 15 May 2020 12:20:34 +0000 (+1000) Subject: rsa: don't use malloc.h in rsa-sign.c X-Git-Tag: v2020.07-rc3~16^2~18 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0ff042d836f2a40b2104d4501111fbb340293c5c;p=oweals%2Fu-boot.git rsa: don't use malloc.h in rsa-sign.c stdlib.h is the header for malloc since at least c89/c90. There is no system malloc.h on OpenBSD and trying to use malloc.h here falls back to the U-Boot malloc.h breaking the build of qemu_arm64. Fixes: 336d4615f8 ("dm: core: Create a new header file for 'compat' features") Signed-off-by: Jonathan Gray --- diff --git a/lib/rsa/rsa-sign.c b/lib/rsa/rsa-sign.c index 580c744709..621ddc4350 100644 --- a/lib/rsa/rsa-sign.c +++ b/lib/rsa/rsa-sign.c @@ -4,7 +4,7 @@ */ #include "mkimage.h" -#include +#include #include #include #include