summaryrefslogtreecommitdiff
path: root/eio.c
diff options
context:
space:
mode:
Diffstat (limited to 'eio.c')
-rw-r--r--eio.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/eio.c b/eio.c
index 15c3f93..ecf6f61 100644
--- a/eio.c
+++ b/eio.c
@@ -166,7 +166,6 @@ static void eio_destroy (eio_req *req);
#include <sys/select.h>
#include <sys/statvfs.h>
#include <unistd.h>
- #include <utime.h>
#include <signal.h>
#include <dirent.h>
@@ -200,6 +199,10 @@ static void eio_destroy (eio_req *req);
#endif
+#if HAVE_UTIMES
+# include <utime.h>
+#endif
+
#if HAVE_SENDFILE
# if __linux
# include <sys/sendfile.h>