From 5b0acc2413c0765961b568697a134f744fb45f61 Mon Sep 17 00:00:00 2001 From: ivmarkov Date: Fri, 8 Nov 2024 13:08:54 +0000 Subject: [PATCH] Expose the raw bindings to the netif bridge --- src/include/esp-idf/bindings.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/include/esp-idf/bindings.h b/src/include/esp-idf/bindings.h index b36add9869..467591de76 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 && defined(CONFIG_ESP_NETIF_TCPIP_LWIP) && defined(CONFIG_ESP_NETIF_BRIDGE_EN) +#include "esp_netif_br_glue.h" +#endif #ifdef CONFIG_LWIP_PPP_SUPPORT #include "esp_netif_ppp.h" #endif