From 51ceeca03b433958301f47f39fad68ddd5bc3f44 Mon Sep 17 00:00:00 2001 From: Marius Vikhammer Date: Fri, 9 Feb 2024 15:51:52 +0800 Subject: [PATCH] fix(heap): fixed missing include in esp_heap_task_info.h Would fail to compile if esp_heap_task_info.h was included without/before freertos includes --- components/heap/include/esp_heap_task_info.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/heap/include/esp_heap_task_info.h b/components/heap/include/esp_heap_task_info.h index bd2b81749f..6ee4131833 100644 --- a/components/heap/include/esp_heap_task_info.h +++ b/components/heap/include/esp_heap_task_info.h @@ -9,6 +9,10 @@ #ifdef CONFIG_HEAP_TASK_TRACKING +#include +#include "freertos/FreeRTOS.h" +#include "freertos/task.h" + #ifdef __cplusplus extern "C" { #endif