summaryrefslogtreecommitdiffstats
path: root/byterun/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'byterun/io.c')
-rw-r--r--byterun/io.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/byterun/io.c b/byterun/io.c
index 676cb5b2b..c1566b72c 100644
--- a/byterun/io.c
+++ b/byterun/io.c
@@ -22,6 +22,9 @@
#ifdef HAS_UNISTD
#include <unistd.h>
#endif
+#ifdef __CYGWIN__
+#include </usr/include/io.h>
+#endif
#include "alloc.h"
#include "custom.h"
#include "fail.h"