ntdll: MSVC portability fix

Martin Fuchs martin-fuchs at gmx.net
Tue Nov 1 10:44:12 CST 2005


Changelog:
include winsock2.h instead of sys/time.h in MSVC port to declare struct timeval


Index: time.c
===================================================================
RCS file: /home/wine/wine/dlls/ntdll/time.c,v
retrieving revision 1.80
diff -u -p -d -r1.80 time.c
--- time.c	10 Oct 2005 18:03:56 -0000	1.80
+++ time.c	1 Nov 2005 16:43:28 -0000
@@ -32,6 +32,8 @@
 #include <time.h>
 #ifdef HAVE_SYS_TIME_H
 # include <sys/time.h>
+#else
+# include <winsock2.h>	/* timeval */
 #endif
 #ifdef HAVE_UNISTD_H
 # include <unistd.h>




More information about the wine-patches mailing list