diff options
Diffstat (limited to 'src/malloc/memalign_altname.c')
-rw-r--r-- | src/malloc/memalign_altname.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/malloc/memalign_altname.c b/src/malloc/memalign_altname.c index b6143f30..32cd87d8 100644 --- a/src/malloc/memalign_altname.c +++ b/src/malloc/memalign_altname.c @@ -1,7 +1,7 @@ +#define _BSD_SOURCE #include <stdlib.h> -#include "malloc_impl.h" -void *aligned_alloc(size_t align, size_t len) +void *memalign(size_t align, size_t len) { - return __memalign(align, len); + return aligned_alloc(align, len); } |