Martin v. Löwis added the comment: Thanks for the explanation; that makes sense (I didn't expect that the value of these constants depends on the size of some structure, normally, they are "truly" constant, e.g. 0x5405 on Linux).
The autoconf test should check whether the header (sys/termio.h) is present, and then a conditional include of termio.h should be made under HAVE_SYS_TERMIO_H, with the a comment "for TCGETA" or some such. This would fix the problem for any other system that has the same approach to ioctl codes. _____________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1722225> _____________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com