Skip to contentSkip to conversation

fix "no previous prototype for 'sbrk'" warning

PATCH New Antony Pavlov 1 participant 1 message Dec 8, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix "no previous prototype for 'sbrk'" warning

---
 common/memory.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
common/memory.c +1 -0
index 7d0f4ca..8090baa 100644
@@ -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"
Signature · 7 lines
1.7.7.3


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