commit | 0765fe3a053a67f52fedbe8e9adb8410cb931957 | [log] [tgz] |
---|---|---|
author | Sjoerd Mullender <sjoerd@acm.org> | Wed Jul 26 15:46:29 2000 +0000 |
committer | Sjoerd Mullender <sjoerd@acm.org> | Wed Jul 26 15:46:29 2000 +0000 |
tree | b445845af5e78e49cc8e9b6e697ac7ba2c0775c0 | |
parent | 4f570b9239eff845c2a5298d8178cb8e01122ac2 [diff] [blame] |
Make mode_t available for the declaration of _getpty().
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 @@ #endif #ifdef HAVE__GETPTY -/* Unchecked */ +#include <sys/types.h> /* we need to import mode_t */ extern char * _getpty(int *, int, mode_t, int); #endif