diff --git a/esp3d/esp3d.cpp b/esp3d/esp3d.cpp index 8adb1565..db29d2ee 100644 --- a/esp3d/esp3d.cpp +++ b/esp3d/esp3d.cpp @@ -26,6 +26,9 @@ */ #include "esp3d.h" #include +#ifdef ARDUINO_ARCH_ESP8266 +#include +#endif #ifndef FS_NO_GLOBALS #define FS_NO_GLOBALS #endif @@ -41,7 +44,6 @@ #include "webinterface.h" #include "command.h" #ifdef ARDUINO_ARCH_ESP8266 -#include #include "ESP8266WiFi.h" #if defined (ASYNCWEBSERVER) #include