diff options
author | jcea <jcea@jcea.es> | 2018-01-28 13:00:48 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-28 13:00:48 (GMT) |
commit | f0a95f27c043e847a23940534fdfc53e1b3e31a1 (patch) | |
tree | 6768b281f6bafd007f5250c4950176419aaafe50 /Modules/termios.c | |
parent | 6c51d518800cdda7ba16ae163be0d211d2c4fa12 (diff) | |
download | cpython-f0a95f27c043e847a23940534fdfc53e1b3e31a1.zip cpython-f0a95f27c043e847a23940534fdfc53e1b3e31a1.tar.gz cpython-f0a95f27c043e847a23940534fdfc53e1b3e31a1.tar.bz2 |
bpo-32660: Solaris should support constants like termios' FIONREAD (#5328)
Diffstat (limited to 'Modules/termios.c')
-rw-r--r-- | Modules/termios.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Modules/termios.c b/Modules/termios.c index 6ed4395..b4aa77f 100644 --- a/Modules/termios.c +++ b/Modules/termios.c @@ -8,6 +8,12 @@ #define CTRL(c) ((c)&037) #endif +#if defined(__sun) +/* We could do better. Check issue-32660 */ +#include <sys/filio.h> +#include <sys/sockio.h> +#endif + #include <termios.h> #include <sys/ioctl.h> |