mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 13:13:50 +08:00
bacbcf3527
* [ccfits]Regenerate patches and modify how the patches are used. * [itpp]Regenerate patches and modify how the patches are used. * [mpg123]Regenerate patches and modify how the patches are used. * [qwt]Regenerate patches and modify how the patches are used. * [sdl1]Remove a patche and modify how the patches are used.
16 lines
388 B
Diff
16 lines
388 B
Diff
diff --git a/itpp/base/timing.cpp b/itpp/base/timing.cpp
|
|
index 58178e4..6b173d0 100644
|
|
--- a/itpp/base/timing.cpp
|
|
+++ b/itpp/base/timing.cpp
|
|
@@ -52,6 +52,10 @@
|
|
#if defined(_WIN32) && !defined(__CYGWIN__)
|
|
#include <windows.h>
|
|
|
|
+#if defined(WINAPI_FAMILY) && (WINAPI_FAMILY == WINAPI_FAMILY_APP)
|
|
+#include <Winsock2.h>
|
|
+#endif
|
|
+
|
|
int gettimeofday(struct timeval* p, void*)
|
|
{
|
|
union {
|