summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2012-11-18 23:07:18 (GMT)
committerStefan Krah <skrah@bytereef.org>2012-11-18 23:07:18 (GMT)
commit2cbbed6541d7d79176ff7dcd0eafcada95b4fa80 (patch)
tree23669f6bf0a4ea282e0df870dbf1651a1bad7978 /Include
parent739e1790f8576543b4058cc60a993be643367c91 (diff)
downloadcpython-2cbbed6541d7d79176ff7dcd0eafcada95b4fa80.zip
cpython-2cbbed6541d7d79176ff7dcd0eafcada95b4fa80.tar.gz
cpython-2cbbed6541d7d79176ff7dcd0eafcada95b4fa80.tar.bz2
Issue #6308: Try to fix the termios build failure on HP-UX.
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 944b83a..8ccb250 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