Backport 9dd4638de73b.
This commit is contained in:
parent
6451497df1
commit
e78f12f7c2
|
@ -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
|
/* 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
|
if TCGETA, TCSETA, TCSETAW, or TCSETAF are used. sys/termio.h must
|
||||||
be included before termios.h or it will generate an error. */
|
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>
|
#include <sys/termio.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue