diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-12-08 15:24:10 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-12-08 15:24:10 +0000 |
commit | d5e1644d99b283f9045e659bad5198be0b6da8e0 (patch) | |
tree | 40a3cc3f173e23a2e6fb48716445c81dd5a06ecc /system/musl/amalgamation.patch | |
parent | 2b1a10d34bf6683f737aa1e510101b340c8df3db (diff) | |
download | packages-d5e1644d99b283f9045e659bad5198be0b6da8e0.tar.gz packages-d5e1644d99b283f9045e659bad5198be0b6da8e0.tar.bz2 packages-d5e1644d99b283f9045e659bad5198be0b6da8e0.tar.xz packages-d5e1644d99b283f9045e659bad5198be0b6da8e0.zip |
system/musl: define __USE_TIME_BITS64
Diffstat (limited to 'system/musl/amalgamation.patch')
-rw-r--r-- | system/musl/amalgamation.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/system/musl/amalgamation.patch b/system/musl/amalgamation.patch index 8f018a07a..fd77581da 100644 --- a/system/musl/amalgamation.patch +++ b/system/musl/amalgamation.patch @@ -46,6 +46,18 @@ index 194c2033..5734b1f0 100644 int mkostemps (char *, int, int); void *valloc (size_t); void *memalign(size_t, size_t); +diff --git a/include/sys/time.h b/include/sys/time.h +index cdc67ef6..fd773896 100644 +--- a/include/sys/time.h ++++ b/include/sys/time.h +@@ -13,6 +13,7 @@ int gettimeofday (struct timeval *__restrict, void *__restrict); + #define ITIMER_REAL 0 + #define ITIMER_VIRTUAL 1 + #define ITIMER_PROF 2 ++#define __USE_TIME_BITS64 1 + + struct itimerval { + struct timeval it_interval; diff --git a/include/time.h b/include/time.h index 5494df18..2412fe22 100644 --- a/include/time.h |