diff options
Diffstat (limited to 'include/time.h')
-rw-r--r-- | include/time.h | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/include/time.h b/include/time.h index 1c103a4cb2..fe4da9ca10 100644 --- a/include/time.h +++ b/include/time.h @@ -4,6 +4,7 @@ #ifndef _ISOMAC # include <bits/types/struct_timeval.h> # include <struct___timespec64.h> +# include <struct___timeval64.h> # include <bits/types/locale_t.h> # include <stdbool.h> # include <time/mktime-internal.h> @@ -74,20 +75,6 @@ struct __itimerspec64 #endif #if __TIMESIZE == 64 -# define __timeval64 timeval -#else -/* The glibc Y2038-proof struct __timeval64 structure for a time value. - This structure is NOT supposed to be passed to the Linux kernel. - Instead, it shall be converted to struct __timespec64 and time shall - be [sg]et via clock_[sg]ettime (which are now Y2038 safe). */ -struct __timeval64 -{ - __time64_t tv_sec; /* Seconds */ - __suseconds64_t tv_usec; /* Microseconds */ -}; -#endif - -#if __TIMESIZE == 64 # define __utimbuf64 utimbuf # define __itimerval64 itimerval #else |