Include lwip_fast_select.h for esphome_lwip_set_nodelay declaration

The forward declaration of struct lwip_sock alone is not enough -
the fast path in setsockopt() needs the function declaration too.
This commit is contained in:
J. Nick Koston
2026-03-10 22:31:48 -10:00
parent 426251f705
commit ef9f34b9ab
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -14,7 +14,7 @@
#endif
#ifdef USE_LWIP_FAST_SELECT
struct lwip_sock;
#include "esphome/core/lwip_fast_select.h"
#endif
namespace esphome::socket {
@@ -10,7 +10,7 @@
#include "headers.h"
#ifdef USE_LWIP_FAST_SELECT
struct lwip_sock;
#include "esphome/core/lwip_fast_select.h"
#endif
namespace esphome::socket {