aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/hiredis/fix-ssize_t.patch
blob: 521313a687a8d49bd20f955189bcb2834ad5291a (plain)
1
2
3
4
5
6
7
8
9
10
11
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 */