summaryrefslogtreecommitdiff
path: root/hiredis.c
diff options
context:
space:
mode:
authorm <m@bitsnbites.eu>2019-03-31 18:17:19 +0200
committerMarcus Geelnard <marcus.geelnard@smarteye.se>2019-04-01 11:54:37 +0200
commitdc6d19b9ece7204609980272e4b158deff224a9a (patch)
tree6d57dce1a5af86dfed27e01b18b7a3cf33f97fcb /hiredis.c
parent1d092a235aae92cb9a4fe260c385a850eadfc611 (diff)
Port network layer to Winsock
With this change, Hiredis builds with MinGW and runs on Windows.
Diffstat (limited to 'hiredis.c')
-rw-r--r--hiredis.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hiredis.c b/hiredis.c
index 4a30da6..5943306 100644
--- a/hiredis.c
+++ b/hiredis.c
@@ -42,6 +42,7 @@
#include "net.h"
#include "sds.h"
#include "sslio.h"
+#include "win32.h"
static redisReply *createReplyObject(int type);
static void *createStringObject(const redisReadTask *task, char *str, size_t len);