summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorSjoerd Mullender <sjoerd@acm.org>2000-07-26 15:46:29 (GMT)
committerSjoerd Mullender <sjoerd@acm.org>2000-07-26 15:46:29 (GMT)
commit0765fe3a053a67f52fedbe8e9adb8410cb931957 (patch)
treeb445845af5e78e49cc8e9b6e697ac7ba2c0775c0 /Include
parent4f570b9239eff845c2a5298d8178cb8e01122ac2 (diff)
downloadcpython-0765fe3a053a67f52fedbe8e9adb8410cb931957.zip
cpython-0765fe3a053a67f52fedbe8e9adb8410cb931957.tar.gz
cpython-0765fe3a053a67f52fedbe8e9adb8410cb931957.tar.bz2
Make mode_t available for the declaration of _getpty().
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