diff options
Diffstat (limited to 'libc/tzcode/strftime.c')
-rw-r--r-- | libc/tzcode/strftime.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libc/tzcode/strftime.c b/libc/tzcode/strftime.c index 1164a13be..2a1db6422 100644 --- a/libc/tzcode/strftime.c +++ b/libc/tzcode/strftime.c @@ -37,7 +37,12 @@ static const char sccsid[] = "@(#)strftime.c 5.4 (Berkeley) 3/14/89"; #include "fcntl.h" #include "locale.h" #include <ctype.h> +#if defined(__LP64__) +#define time64_t time_t +#define mktime64 mktime +#else #include <time64.h> +#endif #include "private/bionic_time.h" /* for strftime_tz */ /* struct lc_time_T is now defined as strftime_locale |