From 5a07be08123f002249f73b18f61438a746559430 Mon Sep 17 00:00:00 2001 From: Pixel Date: Tue, 11 Oct 2011 16:41:14 -0700 Subject: Fixing compilation failures under mingw32. --- eio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'eio.c') 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 # 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) { -- cgit v1.2.3