summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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;