From: Mahavir Jain Date: Thu, 26 Apr 2018 05:33:43 +0000 (+0530) Subject: heap: fix build failure due to missing header X-Git-Tag: v3.1-beta1~212^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5cdd08ef5a7f54aba2d5e9744c32c8274cb9f887;p=esp-idf heap: fix build failure due to missing header Closes https://github.com/espressif/esp-idf/issues/1881 Signed-off-by: Mahavir Jain --- diff --git a/components/heap/multi_heap_platform.h b/components/heap/multi_heap_platform.h index df607e6cd0..6c220cd5d2 100644 --- a/components/heap/multi_heap_platform.h +++ b/components/heap/multi_heap_platform.h @@ -63,6 +63,7 @@ inline static void multi_heap_assert(bool condition, const char *format, int lin __LINE__, (intptr_t)(ADDRESS)) #ifdef CONFIG_HEAP_TASK_TRACKING +#include #define MULTI_HEAP_BLOCK_OWNER TaskHandle_t task; #define MULTI_HEAP_SET_BLOCK_OWNER(HEAD) (HEAD)->task = xTaskGetCurrentTaskHandle() #define MULTI_HEAP_GET_BLOCK_OWNER(HEAD) ((HEAD)->task)