diff options
author | Steve Dower <steve.dower@microsoft.com> | 2016-12-28 23:41:09 (GMT) |
---|---|---|
committer | Steve Dower <steve.dower@microsoft.com> | 2016-12-28 23:41:09 (GMT) |
commit | bfce0f977d20be0781f2b6f201ec309a67bf6099 (patch) | |
tree | c0afa8cd5cec4c22ab4e3ab4d40aa58cfcc43306 /Modules/_io/fileio.c | |
parent | 654da960a0d16ed85e7f7412bedfd17cab5ade01 (diff) | |
download | cpython-bfce0f977d20be0781f2b6f201ec309a67bf6099.zip cpython-bfce0f977d20be0781f2b6f201ec309a67bf6099.tar.gz cpython-bfce0f977d20be0781f2b6f201ec309a67bf6099.tar.bz2 |
Issue #28768: Fix implicit declaration of function _setmode. Patch by Masayuki Yamamoto
Diffstat (limited to 'Modules/_io/fileio.c')
-rw-r--r-- | Modules/_io/fileio.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/_io/fileio.c b/Modules/_io/fileio.c index 54cfb7f..6854a44 100644 --- a/Modules/_io/fileio.c +++ b/Modules/_io/fileio.c @@ -9,6 +9,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 |