[Python-checkins] python/dist/src/Modules termios.c,2.36,2.37
nnorwitz@users.sourceforge.net
nnorwitz@users.sourceforge.net
Fri, 23 May 2003 07:35:27 -0700
Update of /cvsroot/python/python/dist/src/Modules
In directory sc8-pr-cvs1:/tmp/cvs-serv21998/Modules
Modified Files:
termios.c
Log Message:
Get test_ioctl to pass on HPUX 11.
TIOCGPGRP and many other definitions come from bsdtty.h, so it needs
to be included at least on HPUX.
Index: termios.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/termios.c,v
retrieving revision 2.36
retrieving revision 2.37
diff -C2 -d -r2.36 -r2.37
*** termios.c 2 Aug 2002 02:27:13 -0000 2.36
--- termios.c 23 May 2003 14:35:24 -0000 2.37
***************
*** 20,23 ****
--- 20,27 ----
#include <sys/modem.h>
#endif
+ /* HP-UX requires that this be included to pick up TIOCGPGRP and friends */
+ #ifdef HAVE_SYS_BSDTTY_H
+ #include <sys/bsdtty.h>
+ #endif
PyDoc_STRVAR(termios__doc__,