diff options
Diffstat (limited to 'zencore/thread.cpp')
| -rw-r--r-- | zencore/thread.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/zencore/thread.cpp b/zencore/thread.cpp index 596549bb5..1d36ba192 100644 --- a/zencore/thread.cpp +++ b/zencore/thread.cpp @@ -12,13 +12,12 @@ # include <shellapi.h> # include <Shlobj.h> # include <zencore/windows.h> -#elif ZEN_PLATFORM_LINUX +#else # include <chrono> # include <condition_variable> # include <mutex> # include <fcntl.h> -# include <mqueue.h> # include <pthread.h> # include <signal.h> # include <sys/file.h> @@ -27,6 +26,10 @@ # include <unistd.h> #endif +#if ZEN_PLATFORM_LINUX +# include <mqueue.h> +#endif + #include <thread> ZEN_THIRD_PARTY_INCLUDES_START |