From 0a75f9b4d51fb8a04950c558e8fee3197f6ea2c3 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 8 Dec 2019 15:06:19 +0000 Subject: system/musl: Ensure time32 POSIX compat --- system/musl/amalgamation.patch | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'system/musl/amalgamation.patch') 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 + #include diff --git a/include/stdlib.h b/include/stdlib.h index 194c2033..5734b1f0 100644 --- a/include/stdlib.h -- cgit v1.2.3-60-g2f50