Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 090a7801a8817c1fbc6db0ed39070bf82255d8f2)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
... | ... |
@@ -24,10 +24,12 @@ |
24 | 24 |
|
25 | 25 |
#include "config.h" |
26 | 26 |
|
27 |
-#if HAVE_PTHREADS || HAVE_W32THREADS |
|
27 |
+#if HAVE_PTHREADS || HAVE_W32THREADS || HAVE_OS2THREADS |
|
28 | 28 |
|
29 | 29 |
#if HAVE_PTHREADS |
30 | 30 |
#include <pthread.h> |
31 |
+#elif HAVE_OS2THREADS |
|
32 |
+#include "compat/os2threads.h" |
|
31 | 33 |
#else |
32 | 34 |
#include <compat/w32pthreads.h> |
33 | 35 |
#endif |