[Python-checkins] cpython (2.7): Backport 9dd4638de73b.

stefan.krah python-checkins at python.org
Mon Nov 19 01:01:22 CET 2012


http://hg.python.org/cpython/rev/23ebb8936bf6
changeset:   80525:23ebb8936bf6
branch:      2.7
parent:      80514:4624570c1f19
user:        Stefan Krah <skrah at bytereef.org>
date:        Mon Nov 19 01:00:45 2012 +0100
summary:
  Backport 9dd4638de73b.

files:
  Include/pyport.h |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Include/pyport.h b/Include/pyport.h
--- a/Include/pyport.h
+++ b/Include/pyport.h
@@ -646,7 +646,7 @@
 /* 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
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list