mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2025-05-06 00:05:15 -04:00
fix build with musl
This commit is contained in:
parent
e891b40588
commit
a875951e82
2 changed files with 4 additions and 0 deletions
2
malloc.h
2
malloc.h
|
@ -51,7 +51,9 @@ size_t h_malloc_usable_size(void *ptr);
|
|||
int h_mallopt(int param, int value);
|
||||
int h_malloc_trim(size_t pad);
|
||||
void h_malloc_stats(void);
|
||||
#if defined(__GLIBC__) || defined(__ANDROID__)
|
||||
struct mallinfo h_mallinfo(void);
|
||||
#endif
|
||||
int h_malloc_info(int options, FILE *fp);
|
||||
|
||||
// obsolete glibc extensions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue