diff --git a/Threads/Inc/threads_primitivethread.hpp b/Threads/Inc/threads_primitivethread.hpp index 8be7ffc..6862d51 100644 --- a/Threads/Inc/threads_primitivethread.hpp +++ b/Threads/Inc/threads_primitivethread.hpp @@ -13,6 +13,7 @@ #include #include +#include namespace Threads { diff --git a/Threads/Src/threads_primitivethread.cpp b/Threads/Src/threads_primitivethread.cpp index 9d036ad..52005e8 100644 --- a/Threads/Src/threads_primitivethread.cpp +++ b/Threads/Src/threads_primitivethread.cpp @@ -9,6 +9,8 @@ #include "peripherals_utility.hpp" +#include + #ifdef INCLUDE_xTaskGetCurrentTaskHandle #define ASSERT_IS_CURRENT() \ assert(Threads::PrimitiveThread::getCurrentThread().taskHandle() == this->taskHandle())