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

This commit is contained in:
Steve Dower 2016-12-28 15:41:53 -08:00
commit 280408bf1c
3 changed files with 9 additions and 0 deletions

View File

@ -597,6 +597,9 @@ Documentation
Build Build
----- -----
- Issue #28768: Fix implicit declaration of function _setmode. Patch by
Masayuki Yamamoto
- Issue #29080: Removes hard dependency on hg.exe from PC/build.bat - Issue #29080: Removes hard dependency on hg.exe from PC/build.bat
- Issue #23903: Added missed names to PC/python3.def. - Issue #23903: Added missed names to PC/python3.def.

View File

@ -9,6 +9,9 @@
#ifdef HAVE_SYS_STAT_H #ifdef HAVE_SYS_STAT_H
#include <sys/stat.h> #include <sys/stat.h>
#endif #endif
#ifdef HAVE_IO_H
#include <io.h>
#endif
#ifdef HAVE_FCNTL_H #ifdef HAVE_FCNTL_H
#include <fcntl.h> #include <fcntl.h>
#endif #endif

View File

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