mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-23 11:07:10 +01:00

* [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>
|
|
|