Include <malloc.h> for struct mallinfo.
GCC doesn't seem to care, but clang does. Change-Id: I9884820339a9e6f142862928c357f1a538184ae0
This commit is contained in:
parent
09c3382433
commit
cb0e70389e
|
@ -18,6 +18,7 @@
|
|||
#define LIBC_BIONIC_JEMALLOC_H_
|
||||
|
||||
#include <jemalloc/jemalloc.h>
|
||||
#include <malloc.h> // For struct mallinfo.
|
||||
|
||||
// Need to wrap memalign since je_memalign fails on non-power of 2 alignments.
|
||||
#define je_memalign je_memalign_round_up_boundary
|
||||
|
|
Loading…
Reference in New Issue