From: Albert ARIBAUD (3ADEV) Date: Thu, 7 Sep 2017 22:42:12 +0000 (+0200) Subject: Y2038: add struct __ntp_timeval64 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4f353b27f23d54bfb2e6481ef9e985d57300d7f;p=thirdparty%2Fglibc.git Y2038: add struct __ntp_timeval64 --- diff --git a/sysdeps/unix/sysv/linux/sys/timex.h b/sysdeps/unix/sysv/linux/sys/timex.h index 0d652c8aebf..fd459297abc 100644 --- a/sysdeps/unix/sysv/linux/sys/timex.h +++ b/sysdeps/unix/sysv/linux/sys/timex.h @@ -40,6 +40,19 @@ struct ntptimeval long int __glibc_reserved4; }; +struct __ntptimeval64 +{ + struct __timeval64 time; /* current time (ro) */ + long int maxerror; /* maximum error (us) (ro) */ + long int esterror; /* estimated error (us) (ro) */ + long int tai; /* TAI offset (ro) */ + + long int __glibc_reserved1; + long int __glibc_reserved2; + long int __glibc_reserved3; + long int __glibc_reserved4; +}; + /* Clock states (time_state) */ #define TIME_OK 0 /* clock synchronized, no leap second */ #define TIME_INS 1 /* insert leap second */