]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/unix/private/sockunix.h
removing outdated code
[wxWidgets.git] / include / wx / unix / private / sockunix.h
index 63fc0d885dd372db74a8798124fe8a42e78603f5..ea3006215fe2f7fbebfcd08ab559d771f0795ab6 100644 (file)
 
 #include <unistd.h>
 #include <sys/ioctl.h>
+
+// 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 <sys/filio.h>
+#endif
+
 #include "wx/private/fdiomanager.h"
 
 class wxSocketImplUnix : public wxSocketImpl,