diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/time.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/time.h b/include/time.h index a80953d5dd..73f66277ac 100644 --- a/include/time.h +++ b/include/time.h @@ -8,6 +8,7 @@ # include <time/mktime-internal.h> # include <endian.h> # include <time-clockid.h> +# include <sys/time.h> extern __typeof (strftime_l) __strftime_l; libc_hidden_proto (__strftime_l) @@ -224,6 +225,14 @@ extern int __sched_rr_get_interval64 (pid_t pid, struct __timespec64 *tp); libc_hidden_proto (__sched_rr_get_interval64); #endif +#if __TIMESIZE == 64 +# define __settimeofday64 __settimeofday +#else +extern int __settimeofday64 (const struct __timeval64 *tv, + const struct timezone *tz); +libc_hidden_proto (__settimeofday64) +#endif + /* Compute the `struct tm' representation of T, offset OFFSET seconds east of UTC, and store year, yday, mon, mday, wday, hour, min, sec into *TP. |