aboutsummaryrefslogtreecommitdiff
path: root/src/threading/thread.h
diff options
context:
space:
mode:
authorDavid CARLIER <devnexen@gmail.com>2020-08-23 14:39:32 +0100
committerGitHub <noreply@github.com>2020-08-23 15:39:32 +0200
commitcf5547227d9fffd9fb0043ce0b5633b831536eb6 (patch)
treed047c8bee2b6f04392148687053f55df0ae71c3d /src/threading/thread.h
parent98faeac5a7b382e5d7ce0474bf7d52fc5975a23c (diff)
downloadminetest-cf5547227d9fffd9fb0043ce0b5633b831536eb6.tar.gz
minetest-cf5547227d9fffd9fb0043ce0b5633b831536eb6.tar.bz2
minetest-cf5547227d9fffd9fb0043ce0b5633b831536eb6.zip
Complete Haiku platform support. (#10311)
Fixing linkage/libraries missing issue. Implements missing platform specifics.
Diffstat (limited to 'src/threading/thread.h')
-rw-r--r--src/threading/thread.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/threading/thread.h b/src/threading/thread.h
index cea92226f..3946335f5 100644
--- a/src/threading/thread.h
+++ b/src/threading/thread.h
@@ -36,6 +36,10 @@ DEALINGS IN THE SOFTWARE.
#include <sys/thread.h> // for tid_t
#endif
+#ifdef __HAIKU__
+ #include <kernel/OS.h>
+#endif
+
/*
* On platforms using pthreads, these five priority classes correlate to
* even divisions between the minimum and maximum reported thread priority.