diff --git a/hiredis.h b/hiredis.h --- a/hiredis.h +++ b/hiredis.h @@ -40,6 +40,7 @@ #else struct timeval; /* forward declaration */ typedef long long ssize_t; +#define _SSIZE_T_ /* for compatibility with libuv */ #endif #include /* uintXX_t, etc */ #include "sds.h" /* for sds */