Include sys/time.h in wine/port.h in order to get struct timeval definition for futimes on Cygwin

Dmitry Timoshkov dmitry at baikal.ru
Sat Oct 9 00:40:07 CDT 2004


Hello,

Changelog:
    Dmitry Timoshkov <dmitry at codeweavers.com>
    Include sys/time.h in wine/port.h in order to get struct timeval
    definition for futimes on Cygwin.

--- cvs/hq/wine/include/wine/port.h	Thu Oct 07 23:53:34 2004
+++ wine/include/wine/port.h	Sat Oct 09 03:08:48 2004
@@ -30,6 +30,9 @@
 #include <math.h>
 #include <sys/types.h>
 #include <sys/stat.h>
+#ifdef HAVE_SYS_TIME_H
+#include <sys/time.h>
+#endif
 #ifdef HAVE_DIRECT_H
 # include <direct.h>
 #endif






More information about the wine-patches mailing list