X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aa6ca3dcc9ad03a973dc6fc80e9c66c408b2c27d..7ab0c3adb780464f2ee58f88d2443f5a79a2c401:/src/unix/gsocket.c diff --git a/src/unix/gsocket.c b/src/unix/gsocket.c index a248f1def2..3c5fa00ed0 100644 --- a/src/unix/gsocket.c +++ b/src/unix/gsocket.c @@ -4,6 +4,7 @@ * Authors: Guilhem Lavaux, * Guillermo Rodriguez Garcia (maintainer) * Purpose: GSocket main Unix file + * Licence: The wxWindows licence * CVSID: $Id$ * ------------------------------------------------------------------------- */ @@ -77,6 +78,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 +1692,3 @@ GSocketError GAddress_UNIX_GetPath(GAddress *address, char *path, size_t sbuf) #endif /* wxUSE_SOCKETS || defined(__GSOCKET_STANDALONE__) */ -/* vi:sts=4:sw=4:et */ -