X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6bcc1145fea1fbe4f4fd492199d1482f95fac5fd..eafdb19c44154550b3c6155a62642e7ab5c6e64d:/include/wx/unix/private/sockunix.h diff --git a/include/wx/unix/private/sockunix.h b/include/wx/unix/private/sockunix.h index 63fc0d885d..ea3006215f 100644 --- a/include/wx/unix/private/sockunix.h +++ b/include/wx/unix/private/sockunix.h @@ -14,6 +14,14 @@ #include #include + +// Under older (Open)Solaris versions FIONBIO is declared in this header only. +// In the newer versions it's included by sys/ioctl.h but it's simpler to just +// include it always instead of testing for whether it is or not. +#ifdef __SOLARIS__ + #include +#endif + #include "wx/private/fdiomanager.h" class wxSocketImplUnix : public wxSocketImpl,