diff --git a/Include/pyport.h b/Include/pyport.h index f4daebc6c5b..b9a699b4cf9 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