diff options
author | Michael Grunder <michael.grunder@gmail.com> | 2020-08-07 10:26:38 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-07 10:26:38 -0700 |
commit | 48696e7e5e0c4fedf15dac0ae974b7fa5526febf (patch) | |
tree | 4077d1725249d38af7aa61f3a456015121c7b3cb /examples/example-ssl.c | |
parent | faa1c4863ab7b6de460838972b9ee4989a72a990 (diff) |
Don't use non-installed win32.h helper in examples (#863)
See: #862
Diffstat (limited to 'examples/example-ssl.c')
-rw-r--r-- | examples/example-ssl.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/example-ssl.c b/examples/example-ssl.c index c754177..b8ca442 100644 --- a/examples/example-ssl.c +++ b/examples/example-ssl.c @@ -4,7 +4,10 @@ #include <hiredis.h> #include <hiredis_ssl.h> -#include <win32.h> + +#ifdef _MSC_VER +#include <winsock2.h> /* For struct timeval */ +#endif int main(int argc, char **argv) { unsigned int j; |