From: Stefan Krah Date: Sun, 18 Nov 2012 23:54:05 +0000 (+0100) Subject: Backport 9dd4638de73b. X-Git-Tag: v3.3.1rc1~616 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=36f021621e0e877a8d2e9602dc618ab97e658303;p=python Backport 9dd4638de73b. --- diff --git a/Include/pyport.h b/Include/pyport.h index eba34f9af2..13d10042e3 100644 --- a/Include/pyport.h +++ b/Include/pyport.h @@ -649,7 +649,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 #endif