summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-02-03 07:35:59 -0700
committerSimon Glass <sjg@chromium.org>2020-02-05 19:33:46 -0700
commit1f6510c4cf92b6056c333c9e0316c5bdbe061f1a (patch)
treedbb8b629dc0434662e9c18ddb18c87f372d7d3d7 /common
parentcfda60f99ae237494e9341aad9676152d3bac3c9 (diff)
exports: Add the malloc.h header
This file should include the malloc.h header since it references malloc(). Fix it. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common')
-rw-r--r--common/exports.c1
1 files changed, 1 insertions, 0 deletions
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>