windows support: include io.h when building on Cygwin

This commit is contained in:
Kovensky 2012-09-30 12:47:37 +00:00 committed by wm4
parent 5fca3a6ea5
commit bc63957551
1 changed files with 4 additions and 0 deletions

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>