summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fios.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fios.cpp b/src/fios.cpp
index 67d225f76..2145378a3 100644
--- a/src/fios.cpp
+++ b/src/fios.cpp
@@ -18,6 +18,9 @@
#ifdef WIN32
# include <tchar.h>
+# ifndef UNICODE
+# include <io.h>
+# endif
# define access _taccess
# define unlink _tunlink
#else