mirror of
https://github.com/esphome/esphome.git
synced 2026-09-17 10:08:40 +00:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user