summaryrefslogtreecommitdiff
path: root/src/threading/thread.h
diff options
context:
space:
mode:
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.