Skip to content

Commit e716e03

Browse files
authored
Merge branch 'main' into unparse_pep701
2 parents 5ea8f4f + ecc61a6 commit e716e03

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Modules/termios.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@
2727

2828
#include <termios.h>
2929
#include <sys/ioctl.h>
30+
#if defined(__sun) && defined(__SVR4)
31+
# include <unistd.h> // ioctl()
32+
#endif
3033

3134
/* HP-UX requires that this be included to pick up MDCD, MCTS, MDSR,
3235
* MDTR, MRI, and MRTS (apparently used internally by some things

0 commit comments

Comments
 (0)