summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2024-03-20 10:51:24 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2024-03-20 10:52:16 +0100
commit9e0bcd4fc77099a064b21e789ea5724dc5de55c3 (patch)
treeded6318f2bdc8193536d9d213fb6a1c798ecd148
parenttestsuites: Exclude JFFS2 NAND tests (diff)
downloadrtems-9e0bcd4fc77099a064b21e789ea5724dc5de55c3.tar.bz2
score: Include missing header file
This fixes: heap.c:268:3: warning: implicit declaration of function 'memset'
-rw-r--r--cpukit/score/src/heap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpukit/score/src/heap.c b/cpukit/score/src/heap.c
index f2d02940bd..948e48e5d5 100644
--- a/cpukit/score/src/heap.c
+++ b/cpukit/score/src/heap.c
@@ -45,6 +45,8 @@
#include <rtems/score/threadimpl.h>
#include <rtems/score/interr.h>
+#include <string.h>
+
#if CPU_ALIGNMENT == 0 || CPU_ALIGNMENT % 2 != 0
#error "invalid CPU_ALIGNMENT value"
#endif