summaryrefslogtreecommitdiff
path: root/sockcompat.h
diff options
context:
space:
mode:
Diffstat (limited to 'sockcompat.h')
-rw-r--r--sockcompat.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sockcompat.h b/sockcompat.h
index 85810e8..1aaf23f 100644
--- a/sockcompat.h
+++ b/sockcompat.h
@@ -50,6 +50,7 @@
#include <ws2tcpip.h>
#include <stddef.h>
#include <errno.h>
+#include <Mstcpip.h>
#ifdef _MSC_VER
typedef long long ssize_t;
@@ -71,6 +72,8 @@ ssize_t win32_send(SOCKET sockfd, const void *buf, size_t len, int flags);
typedef ULONG nfds_t;
int win32_poll(struct pollfd *fds, nfds_t nfds, int timeout);
+int win32_redisKeepAlive(SOCKET sockfd, int interval_ms);
+
#ifndef REDIS_SOCKCOMPAT_IMPLEMENTATION
#define getaddrinfo(node, service, hints, res) win32_getaddrinfo(node, service, hints, res)
#undef gai_strerror