| 1 | #ifndef _MALLOC_H |
|---|---|
| 2 | |
| 3 | #include <malloc/malloc.h> |
| 4 | |
| 5 | # ifndef _ISOMAC |
| 6 | # include <rtld-malloc.h> |
| 7 | |
| 8 | /* In the GNU libc we rename the global variable |
| 9 | `__malloc_initialized' to `__libc_malloc_initialized'. */ |
| 10 | #define __malloc_initialized __libc_malloc_initialized |
| 11 | /* Nonzero if the malloc is already initialized. */ |
| 12 | extern int __malloc_initialized attribute_hidden; |
| 13 | |
| 14 | struct malloc_state; |
| 15 | typedef struct malloc_state *mstate; |
| 16 | |
| 17 | # endif /* !_ISOMAC */ |
| 18 | #endif |
| 19 |