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.
This commit is contained in:
Neal Norwitz 2003-05-23 14:35:24 +00:00
parent 661a9e3e5b
commit 8225103d2d
4 changed files with 13 additions and 5 deletions

View file

@ -19,6 +19,10 @@
#ifdef HAVE_SYS_MODEM_H
#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__,
"This module provides an interface to the Posix calls for tty I/O control.\n\