diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2003-09-02 21:01:21 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2003-09-02 21:01:21 +0000 |
commit | d5031cbbca2519ea7d901ad07ba068f315287e50 (patch) | |
tree | ab94190a620e33851122e5fd6555b0232ac356ce | |
parent | 2003-09-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff) | |
download | rtems-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.
-rw-r--r-- | cpukit/libcsupport/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/libcsupport/src/malloc.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/cpukit/libcsupport/ChangeLog b/cpukit/libcsupport/ChangeLog index a94bca2388..cc1eb7f181 100644 --- a/cpukit/libcsupport/ChangeLog +++ b/cpukit/libcsupport/ChangeLog @@ -1,3 +1,8 @@ +2003-09-02 Ilya Alexeev <ilya@continuum.ru> + + PR 472/filesystem + src/malloc.c: Need to include apimutex.h when MALLOC_STATS is defined. + 2003-08-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de> PR 449/rtems: 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 |