summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2012-11-19 00:00:45 (GMT)
committerStefan Krah <skrah@bytereef.org>2012-11-19 00:00:45 (GMT)
commite78f12f7c29d0ac48b5fee86b9afb38012a809e5 (patch)
treef38e511297e4152707b3d361f5963b6a2005b1a8 /Include
parent6451497df166adf4e57689f571d840d3cca3f12d (diff)
downloadcpython-e78f12f7c29d0ac48b5fee86b9afb38012a809e5.zip
cpython-e78f12f7c29d0ac48b5fee86b9afb38012a809e5.tar.gz
cpython-e78f12f7c29d0ac48b5fee86b9afb38012a809e5.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 9bc5f13..899d3d0 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 <sys/termio.h>
#endif