[Python-Dev] Recent change to termios module breaks build on FreeBSD

Fred L. Drake, Jr. fdrake@acm.org
Tue, 8 May 2001 10:45:18 -0400 (EDT)


Michael Hudson writes:
 > If you don't include termio.h the build breaks on alpha/OSF1.  This
 > sounds to me like OSF1's headers are broken (you can't include
 > sys/ioctl.h without including termio.h first, it seems, or you get
 > complaints about struct termio being undefined).  So I'd suggest
 > 
 > +#ifdef __osf__
 >  #include <termio.h>
 > +#endif
 > 
 > and then see if the build breaks anywhere else (I love unix).

  Does it make more sense to do this or to test for termio.h in
configure?


  -Fred

-- 
Fred L. Drake, Jr.  <fdrake at acm.org>
PythonLabs at Digital Creations