diff options
author | Stefan Krah <skrah@bytereef.org> | 2012-11-19 00:00:45 (GMT) |
---|---|---|
committer | Stefan Krah <skrah@bytereef.org> | 2012-11-19 00:00:45 (GMT) |
commit | e78f12f7c29d0ac48b5fee86b9afb38012a809e5 (patch) | |
tree | f38e511297e4152707b3d361f5963b6a2005b1a8 | |
parent | 6451497df166adf4e57689f571d840d3cca3f12d (diff) | |
download | cpython-e78f12f7c29d0ac48b5fee86b9afb38012a809e5.zip cpython-e78f12f7c29d0ac48b5fee86b9afb38012a809e5.tar.gz cpython-e78f12f7c29d0ac48b5fee86b9afb38012a809e5.tar.bz2 |
Backport 9dd4638de73b.
-rw-r--r-- | Include/pyport.h | 2 |
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 |