diff --git a/library/core/rtos/rtos.hpp b/library/core/rtos/rtos.hpp
index c44230460d3aab38d6c20e581860bc88ce149991..7f753265a954d696bcae139f6b0b001e178679af 100644
--- a/library/core/rtos/rtos.hpp
+++ b/library/core/rtos/rtos.hpp
@@ -1,4 +1,5 @@
 #include <FreeRTOS.h>
+#include <task.h>
 
 namespace osal {