From e78f12f7c29d0ac48b5fee86b9afb38012a809e5 Mon Sep 17 00:00:00 2001 From: Stefan Krah Date: Mon, 19 Nov 2012 01:00:45 +0100 Subject: [PATCH] Backport 9dd4638de73b. --- Include/pyport.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Include/pyport.h b/Include/pyport.h index 9bc5f136904..899d3d0b71d 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