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

Skip to content

Commit 2cbbed6

Browse files
author
Stefan Krah
committed
Issue #6308: Try to fix the termios build failure on HP-UX.
1 parent 739e179 commit 2cbbed6

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
@@ -646,7 +646,7 @@ extern char * _getpty(int *, int, mode_t, int);
646646
/* On QNX 6, struct termio must be declared by including sys/termio.h
647647
if TCGETA, TCSETA, TCSETAW, or TCSETAF are used. sys/termio.h must
648648
be included before termios.h or it will generate an error. */
649-
#ifdef HAVE_SYS_TERMIO_H
649+
#if defined(HAVE_SYS_TERMIO_H) && !defined(__hpux)
650650
#include <sys/termio.h>
651651
#endif
652652

0 commit comments

Comments
 (0)