From 0b56c7b30b7218337bfd59d9b84960e5492132d3 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Mon, 5 Sep 2016 14:17:03 +0200 Subject: Initial sempahore implementation for OSX - missing include. --- src/semaphore.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/semaphore.cc b/src/semaphore.cc index 49d3e94..65715a9 100644 --- a/src/semaphore.cc +++ b/src/semaphore.cc @@ -41,6 +41,10 @@ #include #endif +#if DG_PLATFORM == DG_PLATFORM_OSX +#include +#endif + struct semaphore_private_t { #if DG_PLATFORM == DG_PLATFORM_WINDOWS HANDLE semaphore; -- cgit v1.2.3