diff options
Diffstat (limited to 'cpukit/libcsupport/src/malloc_p.h')
-rw-r--r-- | cpukit/libcsupport/src/malloc_p.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cpukit/libcsupport/src/malloc_p.h b/cpukit/libcsupport/src/malloc_p.h index ac25cd31d1..054afd99b2 100644 --- a/cpukit/libcsupport/src/malloc_p.h +++ b/cpukit/libcsupport/src/malloc_p.h @@ -28,6 +28,9 @@ * POSSIBILITY OF SUCH DAMAGE. */ +#ifndef _MALLOC_P +#define _MALLOC_P + #include <rtems.h> #include <rtems/score/protectedheap.h> #include <rtems/malloc.h> @@ -36,6 +39,8 @@ extern "C" { #endif /* __cplusplus */ + + typedef enum { MALLOC_SYSTEM_STATE_NORMAL, MALLOC_SYSTEM_STATE_NO_PROTECTION, @@ -49,3 +54,5 @@ void _Malloc_Process_deferred_frees( void ); #ifdef __cplusplus } #endif /* __cplusplus */ + +#endif /* _MALLOC_P */ |