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 f04790a4b7
commit f85dbfc3d2
4 changed files with 14 additions and 1 deletions

View File

@ -1548,6 +1548,7 @@ Robert Xiao
Florent Xicluna
Alakshendra Yadav
Hirokazu Yamamoto
Masayuki Yamamoto
Ka-Ping Yee
Jason Yeo
EungJun Yi
@ -1574,4 +1575,4 @@ Tarek Ziadé
Jelle Zijlstra
Gennadiy Zlobin
Peter Åstrand
Dhushyanth Ramasamy
Dhushyanth Ramasamy

View File

@ -42,6 +42,12 @@ Library
- Issue #28925: cPickle now correctly propagates errors when unpickle instances
of old-style classes.
Build
-----
- Issue #28768: Fix implicit declaration of function _setmode. Patch by
Masayuki Yamamoto
What's New in Python 2.7.13
===========================

View File

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

View File

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