summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2021-02-13 07:09:38 +1100
committerChris Johns <chrisj@rtems.org>2021-02-13 07:09:38 +1100
commit426154f4fdb17c08bf7f412c5f8d6d40e8757965 (patch)
tree20a02d97e825bf69f76d79d5678c8f0791369eea /cpukit/rtems
parentlibcsupport: Add sbrk greedy support to consume all sbrk memory (diff)
downloadrtems-426154f4fdb17c08bf7f412c5f8d6d40e8757965.tar.bz2
cputkit/rtems: Remove warning
Diffstat (limited to 'cpukit/rtems')
-rw-r--r--cpukit/rtems/src/workspacegreedy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/rtems/src/workspacegreedy.c b/cpukit/rtems/src/workspacegreedy.c
index 5ddf004787..3914f314ab 100644
--- a/cpukit/rtems/src/workspacegreedy.c
+++ b/cpukit/rtems/src/workspacegreedy.c
@@ -32,6 +32,7 @@
#include <rtems/score/heapimpl.h>
#include <rtems/score/threaddispatch.h>
#include <rtems/score/wkspace.h>
+#include <rtems/malloc.h>
#define SBRK_ALLOC_SIZE (128 * 1024UL * 1024UL)