]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
exports: Add the malloc.h header
authorSimon Glass <sjg@chromium.org>
Mon, 3 Feb 2020 14:35:59 +0000 (07:35 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 6 Feb 2020 02:33:46 +0000 (19:33 -0700)
This file should include the malloc.h header since it references malloc().
Fix it.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/exports.c

index b4f1f7af152997607aeab793637d2a832380abab..18af38a5f6e91d60f65cfe4bfe6b81c41765a750 100644 (file)
@@ -1,5 +1,6 @@
 #include <common.h>
 #include <exports.h>
+#include <malloc.h>
 #include <spi.h>
 #include <i2c.h>