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. */
12extern int __malloc_initialized attribute_hidden;
13
14struct malloc_state;
15typedef struct malloc_state *mstate;
16
17# endif /* !_ISOMAC */
18
19#ifdef USE_MTAG
20extern int __mtag_mmap_flags;
21#define MTAG_MMAP_FLAGS __mtag_mmap_flags
22#else
23#define MTAG_MMAP_FLAGS 0
24#endif
25
26#endif
27