p4raw-id: //depot/win32/perl@487
}
DllExport int
-win32_utime(const char *filename, const struct utimbuf *times)
+win32_utime(const char *filename, struct utimbuf *times)
{
HANDLE handle;
FILETIME ftCreate;
#endif
#endif
+#ifdef _MSC_VER
+# include <sys/utime.h>
+#else
+# include <utime.h>
+#endif
+
/*
* defines for flock emulation
*/
DllExport unsigned win32_alarm(unsigned int sec);
DllExport int win32_stat(const char *path, struct stat *buf);
DllExport int win32_ioctl(int i, unsigned int u, char *data);
-DllExport int win32_utime(const char *f, const struct utimbuf *t);
+DllExport int win32_utime(const char *f, struct utimbuf *t);
DllExport int win32_wait(int *status);
#ifdef HAVE_DES_FCRYPT