summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)
{