diff --git a/Source/Core/Common/Src/Thread.h b/Source/Core/Common/Src/Thread.h index 052f3ce02a..ee678efc6a 100644 --- a/Source/Core/Common/Src/Thread.h +++ b/Source/Core/Common/Src/Thread.h @@ -40,6 +40,7 @@ #include #ifdef _POSIX_THREADS #include +#include #elif GEKKO #include #else @@ -183,7 +184,7 @@ inline void YieldCPU() #ifdef _WIN32 YieldProcessor(); #else - // TODO: Implement for other platforms. + sched_yield(); #endif }