diff --git a/src/usb/lwip/lwip.c b/src/usb/lwip/lwip.c index b119a4b..8de7e68 100644 --- a/src/usb/lwip/lwip.c +++ b/src/usb/lwip/lwip.c @@ -49,6 +49,7 @@ try changing the first byte of tud_network_mac_address[] below from 0x02 to 0x00 #include "dnserver.h" #include "lwip/init.h" #include "lwip/timeouts.h" +#include "bsp/board.h" #elif defined(ESP_PLATFORM) #include "apps/dhcpserver/dhcpserver.h" #include "netif/ethernet.h" diff --git a/src/usb/lwip/rest_server_tls.c b/src/usb/lwip/rest_server_tls.c index 9a9eea6..9684cd1 100644 --- a/src/usb/lwip/rest_server_tls.c +++ b/src/usb/lwip/rest_server_tls.c @@ -19,6 +19,10 @@ #include "rest_server_tls.h" #ifdef ENABLE_EMULATION #include "compat/board.h" +#elif defined(PICO_PLATFORM) +#include "bsp/board.h" +#elif defined(ESP_PLATFORM) +#include "compat/esp_compat.h" #endif #ifdef _MSC_VER