Skip to contentSkip to conversation

commands: include missing header

PATCH Applied Holger Schurig 2 participants 2 messages Jun 26, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 commands: include missing header

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

---
 commands/linux_exec.c |    1 +
 1 file changed, 1 insertion(+)
commands/linux_exec.c +1 -0
index 741168a..590e0bf 100644
@@ -16,6 +16,7 @@
  */
 
 #include <common.h>
+#include <malloc.h>
 #include <command.h>
 #include <mach/linux.h>
 
Signature · 7 lines
1.7.10.4


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Applied
#1 lore raw
Quoted 4 lines · Holger Schurig

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

Applied this one, thanks

SAscha

Quoted 25 lines
---
 commands/linux_exec.c |    1 +
 1 file changed, 1 insertion(+)
commands/linux_exec.c +1 -0
index 741168a..590e0bf 100644
@@ -16,6 +16,7 @@
  */
 
 #include <common.h>
+#include <malloc.h>
 #include <command.h>
 #include <mach/linux.h>
 
Signature · 7 lines
1.7.10.4


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox