diff options
author | Pixel <pixel@nobis-crew.org> | 2011-10-11 16:41:14 -0700 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2011-10-11 16:41:14 -0700 |
commit | 5a07be08123f002249f73b18f61438a746559430 (patch) | |
tree | b2f94080e371e6200407230c43d2a077b21969a8 /eio.c | |
parent | 6666ffcbf14029d651d1ab709aafa29a56a01309 (diff) |
Fixing compilation failures under mingw32.
Diffstat (limited to 'eio.c')
-rw-r--r-- | eio.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) { |