Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 36f0216

Browse files
author
Stefan Krah
committed
Backport 9dd4638de73b.
1 parent 4b26d55 commit 36f0216

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Include/pyport.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ extern char * _getpty(int *, int, mode_t, int);
649649
/* On QNX 6, struct termio must be declared by including sys/termio.h
650650
if TCGETA, TCSETA, TCSETAW, or TCSETAF are used. sys/termio.h must
651651
be included before termios.h or it will generate an error. */
652-
#ifdef HAVE_SYS_TERMIO_H
652+
#if defined(HAVE_SYS_TERMIO_H) && !defined(__hpux)
653653
#include <sys/termio.h>
654654
#endif
655655

0 commit comments

Comments
 (0)