mirror of
https://github.com/python/cpython.git
synced 2025-12-10 02:50:09 +00:00
Patch #1722225: Support QNX 6.
This commit is contained in:
parent
badd7da622
commit
8c255e4173
9 changed files with 61 additions and 6 deletions
|
|
@ -454,6 +454,13 @@ int shutdown( int, int );
|
|||
extern char * _getpty(int *, int, mode_t, int);
|
||||
#endif
|
||||
|
||||
/* On QNX 6, struct termio must be declared by including sys/termio.h
|
||||
if TCGETA, TCSETA, TCSETAW, or TCSETAF are used. sys/termio.h must
|
||||
be included before termios.h or it will generate an error. */
|
||||
#ifdef HAVE_SYS_TERMIO_H
|
||||
#include <sys/termio.h>
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_OPENPTY) || defined(HAVE_FORKPTY)
|
||||
#if !defined(HAVE_PTY_H) && !defined(HAVE_LIBUTIL_H)
|
||||
/* BSDI does not supply a prototype for the 'openpty' and 'forkpty'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue