* [PATCH] fix "no previous prototype for 'sbrk'" warning
@ 2011-12-08 10:17 Antony Pavlov
0 siblings, 0 replies; only message in thread
From: Antony Pavlov @ 2011-12-08 10:17 UTC (permalink / raw)
To: barebox
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
---
common/memory.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/common/memory.c b/common/memory.c
index 7d0f4ca..8090baa 100644
--- a/common/memory.c
+++ b/common/memory.c
@@ -28,6 +28,7 @@
#include <linux/ioport.h>
#include <asm-generic/memory_layout.h>
#include <asm/sections.h>
+#include <malloc.h>
/*
* Begin and End of memory area for malloc(), and current "brk"
--
1.7.7.3
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-12-08 10:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-08 10:17 [PATCH] fix "no previous prototype for 'sbrk'" warning Antony Pavlov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox