]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Backport 9dd4638de73b.
authorStefan Krah <skrah@bytereef.org>
Mon, 19 Nov 2012 00:00:45 +0000 (01:00 +0100)
committerStefan Krah <skrah@bytereef.org>
Mon, 19 Nov 2012 00:00:45 +0000 (01:00 +0100)
Include/pyport.h

index 9bc5f1369046a0ddcb15393baa5db80f1768f8e0..899d3d0b71d644cc6c4181cc5b1a911b66875b3e 100644 (file)
@@ -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