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.
This commit is contained in:
Euripedes Rocha
2022-11-03 15:26:43 +01:00
parent e80f3e6a87
commit 8a6005781d

View File

@@ -2,6 +2,8 @@
#include "mqtt_client_priv.h"
#include "esp_log.h"
#include <stdint.h>
#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