From d5e1644d99b283f9045e659bad5198be0b6da8e0 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 8 Dec 2019 15:24:10 +0000 Subject: system/musl: define __USE_TIME_BITS64 --- system/musl/amalgamation.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'system/musl/amalgamation.patch') 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 -- cgit v1.2.3-60-g2f50