]> granicus.if.org Git - python/commitdiff
Backport 9dd4638de73b.
authorStefan Krah <skrah@bytereef.org>
Sun, 18 Nov 2012 23:54:05 +0000 (00:54 +0100)
committerStefan Krah <skrah@bytereef.org>
Sun, 18 Nov 2012 23:54:05 +0000 (00:54 +0100)
Include/pyport.h

index eba34f9af222c6a20d7a34bbb22d423e238283e5..13d10042e318311c56affed389d9541cf58eee01 100644 (file)
@@ -649,7 +649,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