List-Id: U-Boot discussion <u-boot.lists.denx.de> From: sjg at chromium.org (Simon Glass) Date: Mon, 3 Feb 2020 07:35:59 -0700 Subject: [PATCH v2 13/32] exports: Add the malloc.h header In-Reply-To: <20200203143618.74619-1-sjg@chromium.org> References: <20200203143618.74619-1-sjg@chromium.org> Message-ID: <20200203073614.v2.13.I85228f2cecfad4450d0dba222daba5891425f49e@changeid>
This file should include the malloc.h header since it references malloc(). Fix it. Signed-off-by: Simon Glass <sjg at chromium.org> --- Changes in v2: None common/exports.c | 1 + 1 file changed, 1 insertion(+)
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>
This file should include the malloc.h header since it references malloc(). Fix it. Signed-off-by: Simon Glass <sjg at chromium.org> --- Changes in v2: None common/exports.c | 1 + 1 file changed, 1 insertion(+)