summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
Diffstat (limited to 'Include')
-rw-r--r--Include/pyport.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/pyport.h b/Include/pyport.h
index f4daebc..b9a699b 100644
--- a/Include/pyport.h
+++ b/Include/pyport.h
@@ -96,7 +96,7 @@ int shutdown( int, int );
#endif
#ifdef HAVE__GETPTY
-/* Unchecked */
+#include <sys/types.h> /* we need to import mode_t */
extern char * _getpty(int *, int, mode_t, int);
#endif