windows support: include io.h when building on Cygwin

This commit is contained in:
Kovensky
2012-09-30 15:16:53 +02:00
committed by wm4
parent 5fca3a6ea5
commit bc63957551
+4
View File
@@ -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>