summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2012-11-18 23:54:05 (GMT)
committerStefan Krah <skrah@bytereef.org>2012-11-18 23:54:05 (GMT)
commit36f021621e0e877a8d2e9602dc618ab97e658303 (patch)
treece91d6fd563cac08e11630882400388819323eed /Include
parent4b26d5507bb7dafb1e5c7c252217ce3f669e7eac (diff)
downloadcpython-36f021621e0e877a8d2e9602dc618ab97e658303.zip
cpython-36f021621e0e877a8d2e9602dc618ab97e658303.tar.gz
cpython-36f021621e0e877a8d2e9602dc618ab97e658303.tar.bz2
Backport 9dd4638de73b.
Diffstat (limited to 'Include')
-rw-r--r--Include/pyport.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/pyport.h b/Include/pyport.h
index eba34f9..13d1004 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 <sys/termio.h>
#endif