From: Stefan Krah Date: Mon, 19 Nov 2012 00:00:45 +0000 (+0100) Subject: Backport 9dd4638de73b. X-Git-Tag: v2.7.4rc1~360 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e78f12f7c29d0ac48b5fee86b9afb38012a809e5;p=thirdparty%2FPython%2Fcpython.git Backport 9dd4638de73b. --- diff --git a/Include/pyport.h b/Include/pyport.h index 9bc5f1369046..899d3d0b71d6 100644 --- a/Include/pyport.h +++ b/Include/pyport.h @@ -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 #endif