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 ec7ac54..509c1a2 100644
--- a/eio.c
+++ b/eio.c
@@ -37,7 +37,7 @@
* either the BSD or the GPL.
*/
-#ifndef _WIN32
+#if !defined(_WIN32) && !defined(EMBED_LIBEIO)
# include "config.h"
#endif
@@ -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)