windows-amd64-prebuilt-libr.../vcpkg/ports/hiredis/fix-pthread.h-not-found-on-windows.patch
2020-10-10 14:36:42 +02:00

17 lines
276 B
Diff

diff --git a/ssl.c b/ssl.c
index 78ab9e4..768f304 100644
--- a/ssl.c
+++ b/ssl.c
@@ -34,7 +34,11 @@
#include "async.h"
#include <assert.h>
+#ifdef _WIN32
+#include <windows.h>
+#else
#include <pthread.h>
+#endif
#include <errno.h>
#include <string.h>