summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/malloc.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2003-09-02 21:01:21 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2003-09-02 21:01:21 +0000
commitd5031cbbca2519ea7d901ad07ba068f315287e50 (patch)
treeab94190a620e33851122e5fd6555b0232ac356ce /cpukit/libcsupport/src/malloc.c
parent2003-09-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-d5031cbbca2519ea7d901ad07ba068f315287e50.tar.bz2
2003-09-02 Ilya Alexeev <ilya@continuum.ru>
PR 472/filesystem src/malloc.c: Need to include apimutex.h when MALLOC_STATS is defined.
Diffstat (limited to 'cpukit/libcsupport/src/malloc.c')
-rw-r--r--cpukit/libcsupport/src/malloc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpukit/libcsupport/src/malloc.c b/cpukit/libcsupport/src/malloc.c
index 4f5f103154..61d822daf1 100644
--- a/cpukit/libcsupport/src/malloc.c
+++ b/cpukit/libcsupport/src/malloc.c
@@ -19,6 +19,7 @@
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#include <rtems.h>
#include <rtems/libcsupport.h>
+#include <rtems/score/apimutex.h>
#ifdef RTEMS_NEWLIB
#include <sys/reent.h>
#endif
@@ -35,6 +36,7 @@
rtems_id RTEMS_Malloc_Heap;
size_t RTEMS_Malloc_Sbrk_amount;
+#define MALLOC_STATS
#ifdef RTEMS_DEBUG
#define MALLOC_STATS
#define MALLOC_DIRTY