diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2003-05-23 14:35:24 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2003-05-23 14:35:24 (GMT) |
commit | 8225103d2d381991703970dc601ef83a12da7fc5 (patch) | |
tree | b8be6772f9e64dd8ebe88b4f6a783a9544829c4f /Modules | |
parent | 661a9e3e5b79e03f912038bd56d8638f9ba5a804 (diff) | |
download | cpython-8225103d2d381991703970dc601ef83a12da7fc5.zip cpython-8225103d2d381991703970dc601ef83a12da7fc5.tar.gz cpython-8225103d2d381991703970dc601ef83a12da7fc5.tar.bz2 |
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.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/termios.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/termios.c b/Modules/termios.c index 3ace25c..7e4eb7b 100644 --- a/Modules/termios.c +++ b/Modules/termios.c @@ -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\ |