aboutsummaryrefslogtreecommitdiffhomepage
path: root/osdep
diff options
context:
space:
mode:
authorGravatar Kovensky <diogomfranco@gmail.com>2012-09-30 12:47:37 +0000
committerGravatar wm4 <wm4@nowhere>2012-09-30 15:16:53 +0200
commitbc639575512cd550b06ae3d50093ff293f699102 (patch)
treef82f3efa034028630a1bf82a9be59e77efeb2097 /osdep
parent5fca3a6ea552bcff6c22f4d4b61a31013d8be7a8 (diff)
windows support: include io.h when building on Cygwin
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>