mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-29 11:06:18 +00:00
os/threading: Fix includes on Windows
This commit is contained in:
parent
367c01f354
commit
7685f49adb
|
@ -17,10 +17,15 @@
|
|||
|
||||
#include "os/os_time.h"
|
||||
|
||||
#ifdef XRT_OS_LINUX
|
||||
#if defined(XRT_OS_LINUX)
|
||||
#include <pthread.h>
|
||||
#include <semaphore.h>
|
||||
#include <assert.h>
|
||||
#elif defined(XRT_OS_WINDOWS)
|
||||
#include <pthread.h>
|
||||
#include <sched.h>
|
||||
#include <semaphore.h>
|
||||
#include <assert.h>
|
||||
#else
|
||||
#error "OS not supported"
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue