| 1 | #ifndef __timeval_defined | 
|---|---|
| 2 | #define __timeval_defined 1 | 
| 3 | |
| 4 | #include <bits/types.h> | 
| 5 | |
| 6 | /* A time value that is accurate to the nearest | 
| 7 | microsecond but also has a range of years. */ | 
| 8 | struct timeval | 
| 9 | { | 
| 10 | #ifdef __USE_TIME_BITS64 | 
| 11 | __time64_t tv_sec; /* Seconds. */ | 
| 12 | __suseconds64_t tv_usec; /* Microseconds. */ | 
| 13 | #else | 
| 14 | __time_t tv_sec; /* Seconds. */ | 
| 15 | __suseconds_t tv_usec; /* Microseconds. */ | 
| 16 | #endif | 
| 17 | }; | 
| 18 | #endif | 
| 19 | 
