[PATCH 1/4] commands: include missing header

Holger Schurig holgerschurig at gmail.com
Thu Jun 26 01:49:14 PDT 2014


When compiled for ARCH=sandbox, we get a compiler warning
if we don't include the needed header file as well.

Signed-off-by: Holger Schurig <holgerschurig at gmail.com>
---
 commands/linux_exec.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/commands/linux_exec.c b/commands/linux_exec.c
index 741168a..590e0bf 100644
--- a/commands/linux_exec.c
+++ b/commands/linux_exec.c
@@ -16,6 +16,7 @@
  */
 
 #include <common.h>
+#include <malloc.h>
 #include <command.h>
 #include <mach/linux.h>
 
-- 
1.7.10.4




More information about the barebox mailing list