]> granicus.if.org Git - python/commitdiff
Fix issue27146 - add stdio.h include to posixmodule.c for ctermid().
authorGregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) <greg@krypto.org>
Sat, 28 May 2016 21:03:48 +0000 (21:03 +0000)
committerGregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) <greg@krypto.org>
Sat, 28 May 2016 21:03:48 +0000 (21:03 +0000)
Modules/posixmodule.c

index c95668b3fda66b6ecc311edb23fde9a3b85baa47..e5f58ab06b4bfcc448b540c7cffe82ce5b01bb1c 100644 (file)
@@ -32,6 +32,8 @@
 #include "winreparse.h"
 #endif
 
+#include <stdio.h>  /* needed for ctermid() */
+
 #ifdef __cplusplus
 extern "C" {
 #endif