os/threading: Fix includes on Windows

This commit is contained in:
Milan Jaros 2020-07-15 08:49:49 -05:00 committed by Jakob Bornecrantz
parent 367c01f354
commit 7685f49adb

View file

@ -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