Fix the MS-Windows build broken by 2012-06-22T21:17:42Z!eggert@cs.ucla.edu.
[bpt/emacs.git] / nt / inc / sys / time.h
1 #ifndef SYS_TIME_H_INCLUDED
2 #define SYS_TIME_H_INCLUDED
3
4 /*
5 * sys/time.h doesn't exist on NT
6 */
7
8 struct timeval
9 {
10 long tv_sec; /* seconds */
11 long tv_usec; /* microseconds */
12 };
13
14 struct timezone
15 {
16 int tz_minuteswest; /* minutes west of Greenwich */
17 int tz_dsttime; /* type of dst correction */
18 };
19
20 struct timespec
21 {
22 time_t tv_sec; /* seconds */
23 long int tv_nsec; /* nanoseconds */
24 };
25
26 void gettimeofday (struct timeval *, struct timezone *);
27
28 #endif /* SYS_TIME_H_INCLUDED */
29
30 /* end of sys/time.h */
31