diff --git a/components/esp-tls/esp_tls.h b/components/esp-tls/esp_tls.h index 07c1c8089d..3ada350379 100644 --- a/components/esp-tls/esp_tls.h +++ b/components/esp-tls/esp_tls.h @@ -14,6 +14,8 @@ #include "mbedtls/ssl.h" #ifdef CONFIG_ESP_TLS_SERVER_SESSION_TICKETS #include "mbedtls/ssl_ticket.h" +#include "mbedtls/entropy.h" +#include "mbedtls/ctr_drbg.h" #endif #elif CONFIG_ESP_TLS_USING_WOLFSSL #include "wolfssl/wolfcrypt/settings.h"