summaryrefslogtreecommitdiffstats
path: root/Modules/posixmodule.c
diff options
context:
space:
mode:
authorGregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) <greg@krypto.org>2016-05-28 21:06:41 (GMT)
committerGregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) <greg@krypto.org>2016-05-28 21:06:41 (GMT)
commit46833e73af10de91f6e6fb5e3b39af56476aa39c (patch)
treea1dad34a8a688d7893dcbf3568507a97144e8f65 /Modules/posixmodule.c
parent6fa5bdc6e85ec48925bc0d856b134f59d01c300f (diff)
parentfa76eeec70b1d7c28b3c201c0400faf10f1d9769 (diff)
downloadcpython-46833e73af10de91f6e6fb5e3b39af56476aa39c.zip
cpython-46833e73af10de91f6e6fb5e3b39af56476aa39c.tar.gz
cpython-46833e73af10de91f6e6fb5e3b39af56476aa39c.tar.bz2
Fix issue27146 - add stdio.h include to posixmodule.c for ctermid().
Diffstat (limited to 'Modules/posixmodule.c')
-rw-r--r--Modules/posixmodule.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index 9247843..ded6d71 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -38,6 +38,8 @@
#undef HAVE_FACCESSAT
#endif
+#include <stdio.h> /* needed for ctermid() */
+
#ifdef __cplusplus
extern "C" {
#endif