diff options
Diffstat (limited to 'ares/ares_private.h')
-rw-r--r-- | ares/ares_private.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ares/ares_private.h b/ares/ares_private.h index 7a755e004..caff53b34 100644 --- a/ares/ares_private.h +++ b/ares/ares_private.h @@ -27,6 +27,15 @@ #define closesocket(x) close(x) #endif +#ifdef WATT32 +#include <tcp.h> +#include <sys/ioctl.h> +#undef closesocket +#define closesocket(s) close_s(s) +#define select(n,r,w,x,t) select_s(n,r,w,x,t) +#define writev(s,v,c) writev_s(s,v,c) +#endif + #define DEFAULT_TIMEOUT 5 #define DEFAULT_TRIES 4 #ifndef INADDR_NONE |