From: Jakub KulĂ­k Date: Sat, 2 Sep 2023 18:57:47 +0000 (+0200) Subject: gh-108765: include in termios.c on Solaris (#108825) X-Git-Tag: v3.13.0a1~638 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ecc61a6d76ea329e56f98c4af0f24a17ed3b2d6c;p=thirdparty%2FPython%2Fcpython.git gh-108765: include in termios.c on Solaris (#108825) --- 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