mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-19 05:47:51 +08:00
fc761ebb72
* [hiredis] Fix feature ssl build error on windows * Fix feature example build error on windows
17 lines
276 B
Diff
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>
|
|
|