From d3b85b7f6c88c08b63500a5f1eb395e897ced00c Mon Sep 17 00:00:00 2001 From: Erki Date: Sun, 30 Oct 2022 21:26:38 +0200 Subject: [PATCH] Threads: Add missing includes --- 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())