118
|
1 /*
|
|
2 * sys/time.h doesn't exist on NT
|
|
3 */
|
|
4
|
|
5 #include <time.h>
|
|
6
|
404
|
7 #ifdef __MINGW32__
|
|
8 #include <winsock.h>
|
|
9 #else
|
118
|
10 struct timeval
|
|
11 {
|
|
12 long tv_sec; /* seconds */
|
|
13 long tv_usec; /* microseconds */
|
|
14 };
|
404
|
15 #endif
|
118
|
16
|
|
17 struct timezone
|
|
18 {
|
|
19 int tz_minuteswest; /* minutes west of Greenwich */
|
|
20 int tz_dsttime; /* type of dst correction */
|
|
21 };
|
|
22
|
|
23 #ifndef HAVE_X_WINDOWS
|
|
24 /* X11R6 on NT provides the single parameter version of this command */
|
|
25 void gettimeofday (struct timeval *, struct timezone *);
|
|
26 #endif
|
|
27
|
|
28 /* end of sys/time.h */
|