mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/4] commands: include missing header
@ 2014-06-26  8:49 Holger Schurig
  2014-06-26 19:24 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Holger Schurig @ 2014-06-26  8:49 UTC (permalink / raw)
  To: barebox

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@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


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/4] commands: include missing header
  2014-06-26  8:49 [PATCH 1/4] commands: include missing header Holger Schurig
@ 2014-06-26 19:24 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2014-06-26 19:24 UTC (permalink / raw)
  To: Holger Schurig; +Cc: barebox

On Thu, Jun 26, 2014 at 10:49:14AM +0200, Holger Schurig wrote:
> 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@gmail.com>

Applied this one, thanks

SAscha

> ---
>  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
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
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
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-06-26 19:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-26  8:49 [PATCH 1/4] commands: include missing header Holger Schurig
2014-06-26 19:24 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox