summaryrefslogtreecommitdiff
path: root/libc/stdlib/malloc-standard/memalign.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdlib/malloc-standard/memalign.c')
-rw-r--r--libc/stdlib/malloc-standard/memalign.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/stdlib/malloc-standard/memalign.c b/libc/stdlib/malloc-standard/memalign.c
index 8cd6f582c..dba65db3d 100644
--- a/libc/stdlib/malloc-standard/memalign.c
+++ b/libc/stdlib/malloc-standard/memalign.c
@@ -129,3 +129,5 @@ void* memalign(size_t alignment, size_t bytes)
}
weak_alias(memalign, aligned_alloc)
libc_hidden_def(memalign)
+/* glibc compatibilty */
+weak_alias(memalign, __libc_memalign)