diff --git a/components/heap/include/esp_heap_task_info.h b/components/heap/include/esp_heap_task_info.h index bd2b81749fa3..6ee4131833af 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