mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
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:
parent
661a9e3e5b
commit
8225103d2d
4 changed files with 13 additions and 5 deletions
|
@ -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\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue