From ecc61a6d76ea329e56f98c4af0f24a17ed3b2d6c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jakub=20Kul=C3=ADk?= Date: Sat, 2 Sep 2023 20:57:47 +0200 Subject: [PATCH] gh-108765: include in termios.c on Solaris (#108825) --- Modules/termios.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Modules/termios.c b/Modules/termios.c index a0613837ef97..c779a757e4fa 100644 --- a/Modules/termios.c +++ b/Modules/termios.c @@ -27,6 +27,9 @@ #include #include +#if defined(__sun) && defined(__SVR4) +# include // ioctl() +#endif /* HP-UX requires that this be included to pick up MDCD, MCTS, MDSR, * MDTR, MRI, and MRTS (apparently used internally by some things -- 2.47.3