Merge branch 'fix/add_libbsd_string_h' into 'master'

refactor(linux): Unified libbsd handling

See merge request espressif/esp-idf!29457
This commit is contained in:
Jakob Hasse
2024-03-21 10:11:25 +08:00
20 changed files with 61 additions and 83 deletions

View File

@@ -1,16 +1,13 @@
/*
* SPDX-FileCopyrightText: 2020-2021 Espressif Systems (Shanghai) CO LTD
* SPDX-FileCopyrightText: 2020-2024 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <sys/cdefs.h>
#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 */