diff --git a/evpp/sys_sockets.h b/evpp/sys_sockets.h index 3a7bdd160..f32069552 100644 --- a/evpp/sys_sockets.h +++ b/evpp/sys_sockets.h @@ -15,7 +15,12 @@ #include #include +#if !defined(_SSIZE_T_) && !defined(_SSIZE_T_DEFINED) typedef int ssize_t; +# define _SSIZE_T_ +# define _SSIZE_T_DEFINED +#endif + #define iovec _WSABUF #define iov_base buf #define iov_len len