aboutsummaryrefslogtreecommitdiff
path: root/sndfiler/src
diff options
context:
space:
mode:
Diffstat (limited to 'sndfiler/src')
-rwxr-xr-xsndfiler/src/sndfiler.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sndfiler/src/sndfiler.c b/sndfiler/src/sndfiler.c
index aa6d8d2..8c4dbe5 100755
--- a/sndfiler/src/sndfiler.c
+++ b/sndfiler/src/sndfiler.c
@@ -70,6 +70,8 @@ struct _garray
#endif /* _POSIX_MEMLOCK */
#ifdef __APPLE__
+#include <mach/mach.h>
+#include <mach/task.h>
#include <mach/semaphore.h>
#define SEM_T semaphore_t
#define SEM_INIT(s) (semaphore_create(mach_task_self(),&s,SYNC_POLICY_FIFO,0) == 0)