commit | e78f12f7c29d0ac48b5fee86b9afb38012a809e5 | [log] [tgz] |
---|---|---|
author | Stefan Krah <skrah@bytereef.org> | Mon Nov 19 01:00:45 2012 +0100 |
committer | Stefan Krah <skrah@bytereef.org> | Mon Nov 19 01:00:45 2012 +0100 |
tree | f38e511297e4152707b3d361f5963b6a2005b1a8 | |
parent | 6451497df166adf4e57689f571d840d3cca3f12d [diff] |
Backport 9dd4638de73b.
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 @@ /* 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