diff --git a/CHANGELOG.md b/CHANGELOG.md index afcda01fea..94d3e11bb8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [Unreleased] +### Deprecated + +### Breaking + +### Added +- Add raw bindings for `esp_netif_net_stack.h` and `lwip/esp_netif_net_stack.h`. (#360) + +### Fixed + ## [0.36.0] - 2025-01-02 ### Deprecated diff --git a/src/include/esp-idf/bindings.h b/src/include/esp-idf/bindings.h index c327ed8393..d1c32592fb 100644 --- a/src/include/esp-idf/bindings.h +++ b/src/include/esp-idf/bindings.h @@ -100,6 +100,9 @@ #ifdef ESP_IDF_COMP_ESP_NETIF_ENABLED #include "esp_netif.h" +#if ESP_IDF_VERSION_MAJOR > 4 +#include "esp_netif_net_stack.h" +#endif #if ESP_IDF_VERSION_MAJOR > 4 && defined(CONFIG_ESP_NETIF_TCPIP_LWIP) && defined(CONFIG_ESP_NETIF_BRIDGE_EN) #include "esp_netif_br_glue.h" #endif @@ -215,6 +218,9 @@ #include "lwip/lwip_napt.h" #include "lwip/netdb.h" #include "lwip/sockets.h" +#if ESP_IDF_VERSION_MAJOR > 4 +#include "lwip/esp_netif_net_stack.h" +#endif #include "esp_sntp.h" #include "ping/ping_sock.h" #if ESP_IDF_VERSION_MAJOR > 5 || ESP_IDF_VERSION_MAJOR == 5 && ESP_IDF_VERSION_MINOR >= 1