From 59c2fc6f7f50b1088b9fcddb9d73622d8171a98f Mon Sep 17 00:00:00 2001 From: Erki Date: Tue, 6 Sep 2022 22:26:34 +0300 Subject: [PATCH] Include fixes for threading --- Threads/Inc/threads_primitivethread.hpp | 1 + Threads/Src/threads_primitivethread.cpp | 2 ++ 2 files changed, 3 insertions(+) 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())