Include io.h in gzguts.h for Microsoft compilers.

This commit is contained in:
Mark Adler 2012-01-29 19:20:13 -08:00
parent 5dac2aa007
commit 3fb727c34d
1 changed files with 1 additions and 2 deletions

View File

@ -27,7 +27,7 @@
#endif
#include <fcntl.h>
#ifdef __TURBOC__
#if defined(__TURBOC__) || defined(_MSC_VER)
# include <io.h>
#endif
@ -66,7 +66,6 @@
/* In Win32, vsnprintf is available as the "non-ANSI" _vsnprintf. */
# if !defined(vsnprintf) && !defined(NO_vsnprintf)
# if !defined(_MSC_VER) || ( defined(_MSC_VER) && _MSC_VER < 1500 )
# include <io.h>
# define vsnprintf _vsnprintf
# endif
# endif