From: Sjoerd Mullender Date: Wed, 26 Jul 2000 15:46:29 +0000 (+0000) Subject: Make mode_t available for the declaration of _getpty(). X-Git-Tag: v2.0b1~712 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0765fe3a053a67f52fedbe8e9adb8410cb931957;p=thirdparty%2FPython%2Fcpython.git Make mode_t available for the declaration of _getpty(). --- diff --git a/Include/pyport.h b/Include/pyport.h index f4daebc6c5b0..b9a699b4cf9e 100644 --- a/Include/pyport.h +++ b/Include/pyport.h @@ -96,7 +96,7 @@ int shutdown( int, int ); #endif #ifdef HAVE__GETPTY -/* Unchecked */ +#include /* we need to import mode_t */ extern char * _getpty(int *, int, mode_t, int); #endif