[Python-checkins] cpython (3.5): Fix issue27146 - add stdio.h include to posixmodule.c for ctermid().
gregory.p.smith
python-checkins at python.org
Sat May 28 17:06:50 EDT 2016
https://hg.python.org/cpython/rev/c8e113bf56ae
changeset: 101545:c8e113bf56ae
branch: 3.5
parent: 101540:6f50c04e4a1e
user: Gregory P. Smith <greg at krypto.org> [Google Inc.]
date: Sat May 28 21:03:48 2016 +0000
summary:
Fix issue27146 - add stdio.h include to posixmodule.c for ctermid().
files:
Modules/posixmodule.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -32,6 +32,8 @@
#include "winreparse.h"
#endif
+#include <stdio.h> /* needed for ctermid() */
+
#ifdef __cplusplus
extern "C" {
#endif
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list