diff --git a/components/esp-tls/esp_tls.h b/components/esp-tls/esp_tls.h index 5543b0d0f4..715bed6578 100644 --- a/components/esp-tls/esp_tls.h +++ b/components/esp-tls/esp_tls.h @@ -12,6 +12,7 @@ #include "sdkconfig.h" #ifdef CONFIG_ESP_TLS_USING_MBEDTLS #include "mbedtls/ssl.h" +#include "mbedtls/x509_crt.h" #ifdef CONFIG_ESP_TLS_SERVER_SESSION_TICKETS #include "mbedtls/ssl_ticket.h" #include "mbedtls/entropy.h"