From b5590ed1975ef858642588fb5fb8440b25331c15 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Tue, 5 Nov 2019 21:40:35 +0100 Subject: [PATCH] Include for std::once. --- client/TracyProfiler.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/client/TracyProfiler.cpp b/client/TracyProfiler.cpp index dd79564e..ff26b070 100644 --- a/client/TracyProfiler.cpp +++ b/client/TracyProfiler.cpp @@ -94,6 +94,10 @@ extern "C" typedef LONG (WINAPI *t_RtlGetVersion)( PRTL_OSVERSIONINFOW ); # include #endif +#if !( ( ( defined _WIN32 || defined __CYGWIN__ ) && _WIN32_WINNT >= _WIN32_WINNT_VISTA ) || defined __linux__ ) +# include +#endif + namespace tracy {