1 #ifndef _STRUCT_TIMEVAL64_H
2 #define _STRUCT_TIMEVAL64_H
3 
4 #if __TIMESIZE == 64
5 # define __timeval64 timeval
6 #else
7 /* The glibc Y2038-proof struct __timeval64 structure for a time value.
8    This structure is NOT supposed to be passed to the Linux kernel.
9    Instead, it shall be converted to struct __timespec64 and time shall
10    be [sg]et via clock_[sg]ettime (which are now Y2038 safe).  */
11 struct __timeval64
12 {
13   __time64_t tv_sec;         /* Seconds */
14   __suseconds64_t tv_usec;       /* Microseconds */
15 };
16 #endif
17 #endif /* _STRUCT_TIMEVAL64_H  */
18