summaryrefslogtreecommitdiff
path: root/src/mutex.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mutex.h')
-rw-r--r--src/mutex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mutex.h b/src/mutex.h
index 8499bcc..790e279 100644
--- a/src/mutex.h
+++ b/src/mutex.h
@@ -20,7 +20,7 @@ typedef struct t_ts_thread
int valid;
} ts_thread;
-#elif defined(__linux__)
+#elif defined(__linux__) || defined(__APPLE__)
#include <pthread.h>
#include <unistd.h>
#include <sys/types.h>