commit | f85dbfc3d21e5a650468f20547175107b3bf319b | [log] [tgz] |
---|---|---|
author | Steve Dower <steve.dower@microsoft.com> | Wed Dec 28 15:41:09 2016 -0800 |
committer | Steve Dower <steve.dower@microsoft.com> | Wed Dec 28 15:41:09 2016 -0800 |
tree | 51f586f8a270bb23260f27207d1c1c904c7bdb4f | |
parent | f04790a4b70bd2f9a2f74c032c3b4a4ffb1a9127 [diff] [blame] |
Issue #28768: Fix implicit declaration of function _setmode. Patch by Masayuki Yamamoto
diff --git a/Modules/_io/fileio.c b/Modules/_io/fileio.c index 0678ef8..4a71a57 100644 --- a/Modules/_io/fileio.c +++ b/Modules/_io/fileio.c
@@ -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