mirror of
https://github.com/python/cpython.git
synced 2025-09-01 14:38:00 +00:00
gh-108765: include <unistd.h> in termios.c on Solaris (#108825)
This commit is contained in:
parent
0e6d582b3b
commit
ecc61a6d76
1 changed files with 3 additions and 0 deletions
|
@ -27,6 +27,9 @@
|
||||||
|
|
||||||
#include <termios.h>
|
#include <termios.h>
|
||||||
#include <sys/ioctl.h>
|
#include <sys/ioctl.h>
|
||||||
|
#if defined(__sun) && defined(__SVR4)
|
||||||
|
# include <unistd.h> // ioctl()
|
||||||
|
#endif
|
||||||
|
|
||||||
/* HP-UX requires that this be included to pick up MDCD, MCTS, MDSR,
|
/* HP-UX requires that this be included to pick up MDCD, MCTS, MDSR,
|
||||||
* MDTR, MRI, and MRTS (apparently used internally by some things
|
* MDTR, MRI, and MRTS (apparently used internally by some things
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue