summaryrefslogtreecommitdiff
path: root/eio.c
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2011-10-11 16:41:14 -0700
committerPixel <pixel@nobis-crew.org>2011-10-11 16:41:14 -0700
commit5a07be08123f002249f73b18f61438a746559430 (patch)
treeb2f94080e371e6200407230c43d2a077b21969a8 /eio.c
parent6666ffcbf14029d651d1ab709aafa29a56a01309 (diff)
Fixing compilation failures under mingw32.
Diffstat (limited to 'eio.c')
-rw-r--r--eio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/eio.c b/eio.c
index 8b3f1f5..509c1a2 100644
--- a/eio.c
+++ b/eio.c
@@ -985,6 +985,7 @@ eio__pwrite (int fd, void *buf, size_t count, off_t offset)
#endif
#ifndef HAVE_UTIMES
+#include <utime.h>
# undef utimes
# define utimes(path,times) eio__utimes (path, times)
@@ -2149,8 +2150,8 @@ etp_proc_init (void)
len = strlen (name);
strcpy (name + (len <= namelen - 4 ? len : namelen - 4), "/eio");
prctl (PR_SET_NAME, (unsigned long)name, 0, 0, 0);
-}
#endif
+}
X_THREAD_PROC (etp_proc)
{