summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/rtems_malloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libcsupport/src/rtems_malloc.c')
-rw-r--r--cpukit/libcsupport/src/rtems_malloc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpukit/libcsupport/src/rtems_malloc.c b/cpukit/libcsupport/src/rtems_malloc.c
index b4b3acacc8..5eb1ea1505 100644
--- a/cpukit/libcsupport/src/rtems_malloc.c
+++ b/cpukit/libcsupport/src/rtems_malloc.c
@@ -26,6 +26,8 @@
#ifdef RTEMS_NEWLIB
#include "malloc_p.h"
+#include <rtems/score/sysstate.h>
+
void *rtems_heap_allocate_aligned_with_boundary(
size_t size,
uintptr_t alignment,