mirror of https://github.com/python/cpython
Make mode_t available for the declaration of _getpty().
This commit is contained in:
parent
4f570b9239
commit
0765fe3a05
|
@ -96,7 +96,7 @@ int shutdown( int, int );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE__GETPTY
|
#ifdef HAVE__GETPTY
|
||||||
/* Unchecked */
|
#include <sys/types.h> /* we need to import mode_t */
|
||||||
extern char * _getpty(int *, int, mode_t, int);
|
extern char * _getpty(int *, int, mode_t, int);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue