From d5031cbbca2519ea7d901ad07ba068f315287e50 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 2 Sep 2003 21:01:21 +0000 Subject: 2003-09-02 Ilya Alexeev PR 472/filesystem src/malloc.c: Need to include apimutex.h when MALLOC_STATS is defined. --- cpukit/libcsupport/src/malloc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cpukit/libcsupport/src/malloc.c') 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 #include +#include #ifdef RTEMS_NEWLIB #include #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 -- cgit v1.2.3