hurd: fix build of tst-system.c
[glibc.git] / include / struct___timeval64.h
blob05cf2f26fc8e3149ceb39c7af9be281d2a18cf80
1 #ifndef _STRUCT_TIMEVAL64_H
2 #define _STRUCT_TIMEVAL64_H
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
13 __time64_t tv_sec; /* Seconds */
14 __suseconds64_t tv_usec; /* Microseconds */
16 #endif
17 #endif /* _STRUCT_TIMEVAL64_H */