[PATCH] fix "no previous prototype for 'sbrk'" warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Antony Pavlov <antonynpavlov@xxxxxxxxx>
---
 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@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox


[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux