diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-12-08 15:06:19 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-12-08 15:06:19 +0000 |
commit | 0a75f9b4d51fb8a04950c558e8fee3197f6ea2c3 (patch) | |
tree | a9ba13641d474a9c997a285bb29ad417651456d7 /system/musl/amalgamation.patch | |
parent | 853ed477cdfb4d5e3f2d331f818caaf8377dddb1 (diff) | |
download | packages-0a75f9b4d51fb8a04950c558e8fee3197f6ea2c3.tar.gz packages-0a75f9b4d51fb8a04950c558e8fee3197f6ea2c3.tar.bz2 packages-0a75f9b4d51fb8a04950c558e8fee3197f6ea2c3.tar.xz packages-0a75f9b4d51fb8a04950c558e8fee3197f6ea2c3.zip |
system/musl: Ensure time32 POSIX compat
Diffstat (limited to 'system/musl/amalgamation.patch')
-rw-r--r-- | system/musl/amalgamation.patch | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/system/musl/amalgamation.patch b/system/musl/amalgamation.patch index 6f66a18cb..ba2c43d3c 100644 --- a/system/musl/amalgamation.patch +++ b/system/musl/amalgamation.patch @@ -1,3 +1,12 @@ +diff --git a/compat/time32/timespec_get_time32.c b/compat/time32/timespec_get_time32.c +index e9ca94cb..b39b12ee 100644 +--- a/compat/time32/timespec_get_time32.c ++++ b/compat/time32/timespec_get_time32.c +@@ -1,3 +1,4 @@ ++#define _BSD_SOURCE + #include "time32.h" + #include <time.h> + #include <errno.h> diff --git a/include/stdlib.h b/include/stdlib.h index 194c2033..5734b1f0 100644 --- a/include/stdlib.h |