X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fb9010ed40454cc978a9cbaa6de2ee41ea8b6c84..50494a55ae4f0ec07a15b811dbcce5a8ae9fc7bc:/src/os2/gsocket.c diff --git a/src/os2/gsocket.c b/src/os2/gsocket.c index 4f53fa5fc0..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