esp-tls: update esp-tls to support linux build

This commit is contained in:
Harshit Malpani
2022-11-08 14:08:12 +05:30
parent a3c7905dc1
commit aefd3b0aec
3 changed files with 24 additions and 1 deletions
@@ -7,6 +7,10 @@
#include "esp_tls.h"
#include "esp_tls_error_capture_internal.h"
#if CONFIG_IDF_TARGET_LINUX
#include "esp_linux_helper.h"
#endif
typedef struct esp_tls_error_storage {
struct esp_tls_last_error parent; /*!< standard esp-tls last error container */
int sock_errno; /*!< last socket error captured in esp-tls */