1 #ifndef _SYS_TIME_H
2 #define _SYS_TIME_H
3 
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7 
8 struct timeval {
9   long tv_sec;
10   long tv_usec;
11 };
12 
13 typedef struct timestruc {
14   time_t tv_sec;
15   long tv_nsec;
16 } timestruc_t;
17 
18 #ifdef __cplusplus
19 }
20 #endif
21 
22 #endif /* _SYS_TIME_H */
23