Skip to content

Commit e675c75

Browse files
committed
add missing include for ESP with W5100 #177
1 parent 34a2d28 commit e675c75

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/WebSockets.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@
3232
#include <Arduino.h>
3333
#endif
3434

35+
#include <functional>
36+
3537
#ifdef DEBUG_ESP_PORT
3638
#define DEBUG_WEBSOCKETS(...) DEBUG_ESP_PORT.printf( __VA_ARGS__ )
3739
#else
@@ -77,6 +79,7 @@
7779
#if defined(ESP8266) || defined(ESP31B)
7880
#define WEBSOCKETS_NETWORK_TYPE NETWORK_ESP8266
7981
//#define WEBSOCKETS_NETWORK_TYPE NETWORK_ESP8266_ASYNC
82+
//#define WEBSOCKETS_NETWORK_TYPE NETWORK_W5100
8083
#else
8184
#define WEBSOCKETS_NETWORK_TYPE NETWORK_W5100
8285
#endif

0 commit comments

Comments
 (0)