summaryrefslogtreecommitdiff
path: root/nt/inc/sys/time.h
diff options
context:
space:
mode:
Diffstat (limited to 'nt/inc/sys/time.h')
-rw-r--r--nt/inc/sys/time.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/nt/inc/sys/time.h b/nt/inc/sys/time.h
new file mode 100644
index 00000000000..dc270998609
--- /dev/null
+++ b/nt/inc/sys/time.h
@@ -0,0 +1,18 @@
+/*
+ * sys/time.h doesn't exist on NT
+ */
+
+struct timeval
+ {
+ long tv_sec; /* seconds */
+ long tv_usec; /* microseconds */
+ };
+struct timezone
+ {
+ int tz_minuteswest; /* minutes west of Greenwich */
+ int tz_dsttime; /* type of dst correction */
+ };
+
+void gettimeofday (struct timeval *, struct timezone *);
+
+/* end of sys/time.h */