New submission from Michael Haubenwallner <michael.haubenwall...@salomon.at>:

The patch for issue 1722225 in Include/pyport.h to include
<sys/termio.h> before <termios.h> for QNX does break for HP-UX:
On HP-UX, 'struct termios' gets declared within <sys/termio.h>, but when
included via <termios.h> _only_. Due to the include guard, it does not
declare 'struct termios' when included via <termios.h> the second time.

This is Python-2.6.2, but the code looks unchanged in trunk. As I'm not
sure how best to fix this, for 2.6.2 here I go with:
-#ifdef HAVE_SYS_TERMIO_H
+#if defined(HAVE_SYS_TERMIO_H) && defined(__QNX__)

Thanks!

----------
components: Build
messages: 89507
nosy: haubi
severity: normal
status: open
title: termios fix for QNX breaks HP-UX
type: compile error
versions: Python 2.6

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue6308>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to