Просмотр исходного кода

mbedtls: Fix esp_debug not including its dependencies

As reported on forum: https://esp32.com/viewtopic.php?f=13&t=9782&p=40464#p40464
Angus Gratton 6 лет назад
Родитель
Сommit
b7ee11231d
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      components/mbedtls/port/include/mbedtls/esp_debug.h

+ 2 - 0
components/mbedtls/port/include/mbedtls/esp_debug.h

@@ -14,6 +14,8 @@
 #ifndef _ESP_DEBUG_H_
 #ifndef _ESP_DEBUG_H_
 #define _ESP_DEBUG_H_
 #define _ESP_DEBUG_H_
 
 
+#include "mbedtls/ssl.h"
+
 #ifdef __cplusplus
 #ifdef __cplusplus
 extern "C" {
 extern "C" {
 #endif
 #endif