aboutsummaryrefslogtreecommitdiff
path: root/src/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc.c')
-rw-r--r--src/misc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/misc.c b/src/misc.c
index a3aa1b93..fe62b448 100644
--- a/src/misc.c
+++ b/src/misc.c
@@ -59,9 +59,9 @@
#include <shlobj.h>
#include <direct.h>
-#if _MSC_VER >= 1400
-# include <io.h>
-#endif /* _MSC_VER */
+#ifdef HAVE_IO_H
+#include <io.h>
+#endif /* HAVE_IO_H */
#endif /* _WIN32 */