summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2016-09-05 14:17:03 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2016-09-05 14:17:03 +0200
commit0b56c7b30b7218337bfd59d9b84960e5492132d3 (patch)
treec42d01f2d66b8d951f4b7d076f831f0219e23d93 /src
parent0ae24b1f79c48f2af69cfdfa7e77b18563335506 (diff)
Initial sempahore implementation for OSX - missing include.
Diffstat (limited to 'src')
-rw-r--r--src/semaphore.cc4
1 files changed, 4 insertions, 0 deletions
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 <sys/time.h>
#endif
+#if DG_PLATFORM == DG_PLATFORM_OSX
+#include <Multiprocessing.h>
+#endif
+
struct semaphore_private_t {
#if DG_PLATFORM == DG_PLATFORM_WINDOWS
HANDLE semaphore;