]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Make mode_t available for the declaration of _getpty().
authorSjoerd Mullender <sjoerd@acm.org>
Wed, 26 Jul 2000 15:46:29 +0000 (15:46 +0000)
committerSjoerd Mullender <sjoerd@acm.org>
Wed, 26 Jul 2000 15:46:29 +0000 (15:46 +0000)
Include/pyport.h

index f4daebc6c5b0a7625059e3ad3ee9fadc22294b33..b9a699b4cf9e2f7bef6e4037cd49032b7a95fd65 100644 (file)
@@ -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