From: Vadim Zeitlin Date: Sat, 12 Apr 2003 00:35:14 +0000 (+0000) Subject: UnixWare compilation fix (include sys/filio.h) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a5e3c24d7b0b954b0408697a211d004e4a55051d UnixWare compilation fix (include sys/filio.h) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/unix/gsocket.c b/src/unix/gsocket.c index a248f1def2..5b7c2b23a9 100644 --- a/src/unix/gsocket.c +++ b/src/unix/gsocket.c @@ -77,6 +77,11 @@ struct sockaddr_un #define INVALID_SOCKET -1 #endif +/* UnixWare reportedly needs this for FIONBIO definition */ +#ifdef __UNIXWARE__ +#include +#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 */ -