From 79898078afa9f69f6281a2fdb0e2762078d74238 Mon Sep 17 00:00:00 2001 From: Emiel Por Date: Thu, 23 Jan 2025 12:58:33 -0800 Subject: [PATCH] Add missing includes. --- catkit_core/EventConditionVariable.inl | 4 ++++ catkit_core/EventSemaphore.inl | 7 +++++++ 2 files changed, 11 insertions(+) diff --git a/catkit_core/EventConditionVariable.inl b/catkit_core/EventConditionVariable.inl index da7ce818..881f13ed 100644 --- a/catkit_core/EventConditionVariable.inl +++ b/catkit_core/EventConditionVariable.inl @@ -2,6 +2,10 @@ #include "Timing.h" +#if defined(__linux__) || defined(__APPLE__) + #include +#endif + using EventConditionVariable = EventImpl; #if defined(__linux__) || defined(__APPLE__) diff --git a/catkit_core/EventSemaphore.inl b/catkit_core/EventSemaphore.inl index f5eecf6c..1bff3e11 100644 --- a/catkit_core/EventSemaphore.inl +++ b/catkit_core/EventSemaphore.inl @@ -2,9 +2,16 @@ #include "Timing.h" +#ifdef _WIN32 + #define WIN32_LEAN_AND_MEAN + #define NOMINMAX + #include +#endif // _WIN32 + using EventSemaphore = EventImpl; #ifdef _WIN32 + template<> struct EventSharedState {