summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) <greg@krypto.org>2016-05-28 21:03:48 (GMT)
committerGregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) <greg@krypto.org>2016-05-28 21:03:48 (GMT)
commitfa76eeec70b1d7c28b3c201c0400faf10f1d9769 (patch)
tree65166f910fbd051c91ee4be8946685011c117ad4
parent338502b307798e089d85e58f97f3d28922161c47 (diff)
downloadcpython-fa76eeec70b1d7c28b3c201c0400faf10f1d9769.zip
cpython-fa76eeec70b1d7c28b3c201c0400faf10f1d9769.tar.gz
cpython-fa76eeec70b1d7c28b3c201c0400faf10f1d9769.tar.bz2
Fix issue27146 - add stdio.h include to posixmodule.c for ctermid().
-rw-r--r--Modules/posixmodule.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index c95668b..e5f58ab 100644
--- 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