Browse Source

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>
Simon Glass 4 years ago
parent
commit
1f6510c4cf
1 changed files with 1 additions and 0 deletions
  1. 1 0
      common/exports.c

+ 1 - 0
common/exports.c

@@ -1,5 +1,6 @@
 #include <common.h>
 #include <exports.h>
+#include <malloc.h>
 #include <spi.h>
 #include <i2c.h>