]> git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/itpp/fix-uwp.patch
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / itpp / fix-uwp.patch
1 diff --git a/itpp/base/timing.cpp b/itpp/base/timing.cpp
2 index 58178e4..6b173d0 100644
3 --- a/itpp/base/timing.cpp
4 +++ b/itpp/base/timing.cpp
5 @@ -52,6 +52,10 @@
6 #if defined(_WIN32) && !defined(__CYGWIN__)
7 #include <windows.h>
8
9 +#if defined(WINAPI_FAMILY) && (WINAPI_FAMILY == WINAPI_FAMILY_APP)
10 +#include <Winsock2.h>
11 +#endif
12 +
13 int gettimeofday(struct timeval* p, void*)
14 {
15 union {