diff nt/inc/sys/time.h @ 404:2f8bb876ab1d r21-2-32

Import from CVS: tag r21-2-32
author cvs
date Mon, 13 Aug 2007 11:16:07 +0200
parents 7d55a9ba150c
children
line wrap: on
line diff
--- a/nt/inc/sys/time.h	Mon Aug 13 11:15:00 2007 +0200
+++ b/nt/inc/sys/time.h	Mon Aug 13 11:16:07 2007 +0200
@@ -4,11 +4,15 @@
 
 #include <time.h>
 
+#ifdef __MINGW32__
+#include <winsock.h>
+#else
 struct timeval 
   {
     long tv_sec;	/* seconds */
     long tv_usec;	/* microseconds */
   };
+#endif
 
 struct timezone 
   {