diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2022-01-08 20:33:55 -0600 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2023-05-05 21:21:41 -0500 |
commit | 73d1d2439a1a0fff8cc9ff17a31a152951b3208b (patch) | |
tree | d64f1eba298417118b05161c8353106fb15e1bfa /src | |
parent | 48367c1a0856e8d96f0c9ef073590c5500b71aec (diff) | |
download | musl-posix-compliance.tar.gz musl-posix-compliance.tar.bz2 musl-posix-compliance.tar.xz musl-posix-compliance.zip |
malloc: ensure aligned_alloc visibilityHEADposix-compliance
The implementation of memalign(3) uses _BSD_SOURCE, so we will too.
Diffstat (limited to 'src')
-rw-r--r-- | src/malloc/posix_memalign.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/malloc/posix_memalign.c b/src/malloc/posix_memalign.c index ad4d8f47..3318f86a 100644 --- a/src/malloc/posix_memalign.c +++ b/src/malloc/posix_memalign.c @@ -1,3 +1,4 @@ +#define _BSD_SOURCE #include <stdlib.h> #include <errno.h> |