12 lines
309 B
Diff
12 lines
309 B
Diff
|
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 <stdint.h> /* uintXX_t, etc */
|
||
|
#include "sds.h" /* for sds */
|