X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/476607a777ec5328804da0564364b70128725647..97fdfcc9fdc68c3510599bf483afcb34d8768057:/src/os2/gsocket.c diff --git a/src/os2/gsocket.c b/src/os2/gsocket.c index 85ea3a2313..0ea14036b8 100644 --- a/src/os2/gsocket.c +++ b/src/os2/gsocket.c @@ -11,18 +11,31 @@ #if wxUSE_SOCKETS -#define BSD_SELECT // use Berkley Sockets select +#define BSD_SELECT /* use Berkley Sockets select */ #include -#include #include -#include #include #include #include #include #include +#if defined(__VISAGECPP__) && __IBMCPP__ < 400 +#include +#include +#include +#else +#include +#include #include +#define select(a,b,c,d,e) bsdselect(a,b,c,d,e) +int _System bsdselect(int, + struct fd_set *, + struct fd_set *, + struct fd_set *, + struct timeval *); +int _System soclose(int); +#endif #include #include