u-boot: Fix targets that uses malloc.h

Add a local patch that replace malloc.h with stdlib.h.
As there is current discution to make this file usable again don't bother
with upstream for now.
This commit is contained in:
Emmanuel Vadot 2020-04-27 11:05:38 +00:00
parent ce65a198ae
commit ce32f69963
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=533121

View file

@ -0,0 +1,11 @@
--- lib/rsa/rsa-sign.c.orig 2020-04-27 13:01:22.257655000 +0200
+++ lib/rsa/rsa-sign.c 2020-04-27 13:01:38.844321000 +0200
@@ -4,7 +4,7 @@
*/
#include "mkimage.h"
-#include <malloc.h>
+#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <image.h>