diff --git a/libc/bionic/malloc_debug_common.c b/libc/bionic/malloc_debug_common.c index 9333de96c..2f4e55b2a 100644 --- a/libc/bionic/malloc_debug_common.c +++ b/libc/bionic/malloc_debug_common.c @@ -210,6 +210,11 @@ void* pvalloc(size_t bytes) return dlpvalloc(bytes); } +int posix_memalign(void** memptr, size_t alignment, size_t size) +{ + return dlposix_memalign(memptr, alignment, size); +} + /* Support for malloc debugging. * Note that if USE_DL_PREFIX is not defined, it's assumed that memory * allocation routines are implemented somewhere else, so all our custom