]> git.saurik.com Git - wxWidgets.git/commitdiff
UnixWare compilation fix (include sys/filio.h)
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 12 Apr 2003 00:35:14 +0000 (00:35 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 12 Apr 2003 00:35:14 +0000 (00:35 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/unix/gsocket.c

index a248f1def2a280f22874b07f0acac7096833ac93..5b7c2b23a9156837d6de39df33b4747dfc1a9f16 100644 (file)
@@ -77,6 +77,11 @@ struct sockaddr_un
 #define INVALID_SOCKET -1
 #endif
 
+/* UnixWare reportedly needs this for FIONBIO definition */
+#ifdef __UNIXWARE__
+#include <sys/filio.h>
+#endif
+
 /*
  * INADDR_BROADCAST is identical to INADDR_NONE which is not defined
  * on all systems. INADDR_BROADCAST should be fine to indicate an error.
@@ -1686,5 +1691,3 @@ GSocketError GAddress_UNIX_GetPath(GAddress *address, char *path, size_t sbuf)
 
 #endif  /* wxUSE_SOCKETS || defined(__GSOCKET_STANDALONE__) */
 
-/* vi:sts=4:sw=4:et */
-