Unverified Kaydet (Commit) f0a95f27 authored tarafından jcea's avatar jcea Kaydeden (comit) GitHub

bpo-32660: Solaris should support constants like termios' FIONREAD (#5328)

üst 6c51d518
:mod:`termios` makes available ``FIONREAD``, ``FIONCLEX``, ``FIOCLEX``,
``FIOASYNC`` and ``FIONBIO`` also under Solaris/derivatives.
...@@ -8,6 +8,12 @@ ...@@ -8,6 +8,12 @@
#define CTRL(c) ((c)&037) #define CTRL(c) ((c)&037)
#endif #endif
#if defined(__sun)
/* We could do better. Check issue-32660 */
#include <sys/filio.h>
#include <sys/sockio.h>
#endif
#include <termios.h> #include <termios.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment