mirror of https://github.com/python/cpython.git
Issue #6308: Try to fix the termios build failure on HP-UX.
This commit is contained in:
parent
739e1790f8
commit
2cbbed6541
|
@ -646,7 +646,7 @@ extern char * _getpty(int *, int, mode_t, int);
|
|||
/* 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
|
||||
#if defined(HAVE_SYS_TERMIO_H) && !defined(__hpux)
|
||||
#include <sys/termio.h>
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue