diff options
Diffstat (limited to 'include/time.h')
-rw-r--r-- | include/time.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/time.h b/include/time.h index 73f66277ac..61806658e7 100644 --- a/include/time.h +++ b/include/time.h @@ -227,10 +227,14 @@ libc_hidden_proto (__sched_rr_get_interval64); #if __TIMESIZE == 64 # define __settimeofday64 __settimeofday +# define __gettimeofday64 __gettimeofday #else extern int __settimeofday64 (const struct __timeval64 *tv, const struct timezone *tz); libc_hidden_proto (__settimeofday64) +extern int __gettimeofday64 (struct __timeval64 *restrict tv, + void *restrict tz); +libc_hidden_proto (__gettimeofday64) #endif /* Compute the `struct tm' representation of T, |