From 8a6005781de2776a06958ceee3a0f2aff47f1784 Mon Sep 17 00:00:00 2001 From: Euripedes Rocha Date: Thu, 3 Nov 2022 15:26:43 +0100 Subject: [PATCH] Adds missing header. - esp_heap_caps is directly needed and wasn't included. - For target it's indirecly included but for host test it's needed. --- mqtt_client.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mqtt_client.c b/mqtt_client.c index e189161..2f3a692 100644 --- a/mqtt_client.c +++ b/mqtt_client.c @@ -2,6 +2,8 @@ #include "mqtt_client_priv.h" #include "esp_log.h" #include +#include "esp_heap_caps.h" + _Static_assert(sizeof(uint64_t) == sizeof(outbox_tick_t), "mqtt-client tick type size different from outbox tick type"); #ifdef ESP_EVENT_ANY_ID