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/main.c b/Modules/main.c index 44217c6..73e87e0 100644 --- a/Modules/main.c +++ b/Modules/main.c
@@ -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