summaryrefslogtreecommitdiff
path: root/soltools/mkdepend/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'soltools/mkdepend/main.c')
-rw-r--r--soltools/mkdepend/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/soltools/mkdepend/main.c b/soltools/mkdepend/main.c
index 2ef01a2dc1d3..d63764df5eb2 100644
--- a/soltools/mkdepend/main.c
+++ b/soltools/mkdepend/main.c
@@ -33,6 +33,10 @@ in this Software without prior written authorization from the X Consortium.
#include <sys/stat.h>
#endif
+#ifdef _WIN32
+#include <io.h>
+#endif
+
#ifdef _MSC_VER /* Define ssize_t */
#if !defined(_W64)