aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2006-01-20 07:39:13 +0000
committerIOhannes m zmölnig <zmoelnig@iem.at>2015-10-14 15:12:01 +0200
commitc9f622385bb18ecfe16e7810507d5ddc1330e468 (patch)
treeaaefbde9204dca6eeae577cdd56d8616241632a2
parenta556c60dc72ddf3bd7b4e1cfc3c85f999ccb6e51 (diff)
Included more Mach headers for function prototypes
svn path=/trunk/externals/tb/; revision=4450
-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)