summaryrefslogtreecommitdiffstats
path: root/otherlibs/unix/utimes.c
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/unix/utimes.c')
-rw-r--r--otherlibs/unix/utimes.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/otherlibs/unix/utimes.c b/otherlibs/unix/utimes.c
index b7108b33c..8874a4e0a 100644
--- a/otherlibs/unix/utimes.c
+++ b/otherlibs/unix/utimes.c
@@ -12,12 +12,16 @@
/* $Id$ */
#include <mlvalues.h>
-#include "unix.h"
+#include "unixsupport.h"
#ifdef HAS_UTIME
#include <sys/types.h>
+#ifndef _WIN32
#include <utime.h>
+#else
+#include <sys/utime.h>
+#endif
value unix_utimes(path, atime, mtime) /* ML */
value path, atime, mtime;