about summary refs log tree commit diff
path: root/src/malloc/memalign_altname.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/malloc/memalign_altname.c')
-rw-r--r--src/malloc/memalign_altname.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/malloc/memalign_altname.c b/src/malloc/memalign_altname.c
new file mode 100644
index 00000000..b6143f30
--- /dev/null
+++ b/src/malloc/memalign_altname.c
@@ -0,0 +1,7 @@
+#include <stdlib.h>
+#include "malloc_impl.h"
+
+void *aligned_alloc(size_t align, size_t len)
+{
+	return __memalign(align, len);
+}