summaryrefslogtreecommitdiffstats
path: root/osdep
diff options
context:
space:
mode:
Diffstat (limited to 'osdep')
-rw-r--r--osdep/io.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/osdep/io.h b/osdep/io.h
index 4383d61143..b69643f0e1 100644
--- a/osdep/io.h
+++ b/osdep/io.h
@@ -28,6 +28,10 @@ wchar_t *mp_from_utf8(void *talloc_ctx, const char *s);
char *mp_to_utf8(void *talloc_ctx, const wchar_t *s);
#endif
+#ifdef __CYGWIN__
+#include <io.h>
+#endif
+
#ifdef __MINGW32__
#include <stdio.h>