summaryrefslogtreecommitdiff
path: root/src/mutex.h
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2024-03-10 11:39:21 +0100
committerAldrik Ramaekers <aldrikboy@gmail.com>2024-03-10 11:39:21 +0100
commit31079061f125e7d8c152e3f6459fe2e3ec06a77d (patch)
treec6e873ce1f8474cd68357c30e50c9c43d481d7ef /src/mutex.h
parentd671ea83612bcb683e675c041392922e66e57e58 (diff)
running on osx
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>