Issue #28768: Fix implicit declaration of function _setmode. Patch by Masayuki Yamamoto

This commit is contained in:
Steve Dower 2016-12-28 15:41:09 -08:00
parent 654da960a0
commit bfce0f977d
3 changed files with 9 additions and 0 deletions

View file

@ -7,6 +7,9 @@
#if defined(MS_WINDOWS) || defined(__CYGWIN__)
#include <windows.h>
#ifdef HAVE_IO_H
#include <io.h>
#endif
#ifdef HAVE_FCNTL_H
#include <fcntl.h>
#endif