]> git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/hiredis/fix-timeval.patch
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / hiredis / fix-timeval.patch
1 diff --git a/async_private.h b/async_private.h
2 index d0133ae..7760b60 100644
3 --- a/async_private.h
4 +++ b/async_private.h
5 @@ -32,6 +32,11 @@
6 #ifndef __HIREDIS_ASYNC_PRIVATE_H
7 #define __HIREDIS_ASYNC_PRIVATE_H
8
9 +#ifdef _WIN32
10 +#include <time.h>
11 +#include <windows.h>
12 +#endif
13 +
14 #define _EL_ADD_READ(ctx) \
15 do { \
16 refreshTimeout(ctx); \