summaryrefslogtreecommitdiffstats
path: root/common/memory.c
diff options
context:
space:
mode:
authorAntony Pavlov <antonynpavlov@gmail.com>2011-12-08 14:17:42 +0400
committerSascha Hauer <s.hauer@pengutronix.de>2011-12-09 10:43:25 +0100
commitf17b9efcf75b256b33bd6264519bda808518a8ba (patch)
tree76598f444777d5983dd3082159a7168201031799 /common/memory.c
parente72399a62eb7ac431f91748b180668479146f0de (diff)
downloadbarebox-f17b9efcf75b256b33bd6264519bda808518a8ba.tar.gz
barebox-f17b9efcf75b256b33bd6264519bda808518a8ba.tar.xz
fix "no previous prototype for 'sbrk'" warning
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/memory.c')
-rw-r--r--common/memory.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/memory.c b/common/memory.c
index 1d72888067..f0ae1ccbaf 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"