gh-108765: include <unistd.h> in termios.c on Solaris (#108825)
This commit is contained in:
parent
0e6d582b3b
commit
ecc61a6d76
@ -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…
x
Reference in New Issue
Block a user