diff options
Diffstat (limited to 'system/musl/amalgamation.patch')
-rw-r--r-- | system/musl/amalgamation.patch | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/system/musl/amalgamation.patch b/system/musl/amalgamation.patch index ba2c43d3c..8f018a07a 100644 --- a/system/musl/amalgamation.patch +++ b/system/musl/amalgamation.patch @@ -366,18 +366,14 @@ index cc53d536..98caa1f6 100644 val = tm->tm_hour; if (!val) val = 12; diff --git a/src/time/timespec_get.c b/src/time/timespec_get.c -index 40ea9c1c..6ba68559 100644 +index 40ea9c1c..e396da09 100644 --- a/src/time/timespec_get.c +++ b/src/time/timespec_get.c -@@ -4,7 +4,7 @@ - * are considered erroneous. */ - int timespec_get(struct timespec * ts, int base) - { -- if (base != TIME_UTC) return 0; -+ if (base != 1) return 0; - int ret = __clock_gettime(CLOCK_REALTIME, ts); - return ret < 0 ? 0 : base; - } +@@ -1,3 +1,4 @@ ++#define _BSD_SOURCE + #include <time.h> + + /* There is no other implemented value than TIME_UTC; all other values diff --git a/src/unistd/faccessat.c b/src/unistd/faccessat.c index 76bbd4c7..0b4564f9 100644 --- a/src/unistd/faccessat.c |