Issue #6308: Try to fix the termios build failure on HP-UX.
diff --git a/Include/pyport.h b/Include/pyport.h
index 944b83a..8ccb250 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