diff mbox series

[13/33] exports: Add the malloc.h header

Message ID 20200112120216.13.I85228f2cecfad4450d0dba222daba5891425f49e@changeid
State Accepted
Commit 1f6510c4cf92b6056c333c9e0316c5bdbe061f1a
Headers show
Series sandbox: Move to SDL2 | expand

Commit Message

Simon Glass Jan. 12, 2020, 7:06 p.m. UTC
This file should include the malloc.h header since it references malloc().
Fix it.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 common/exports.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/common/exports.c b/common/exports.c
index b4f1f7af15..18af38a5f6 100644
--- a/common/exports.c
+++ b/common/exports.c
@@ -1,5 +1,6 @@ 
 #include <common.h>
 #include <exports.h>
+#include <malloc.h>
 #include <spi.h>
 #include <i2c.h>