diff --git a/ESPFirewall/lib/Firewall/src/API.hpp b/ESPFirewall/lib/Firewall/src/API.hpp index f7e55b7..af2ad43 100644 --- a/ESPFirewall/lib/Firewall/src/API.hpp +++ b/ESPFirewall/lib/Firewall/src/API.hpp @@ -8,6 +8,7 @@ #include "ESP8266WebServer.h" #include "ESP8266WebServerSecure.h" #endif + #include "uri/UriRegex.h" #include "Rules.hpp" diff --git a/ESPFirewall/lib/Firewall/src/Rules.hpp b/ESPFirewall/lib/Firewall/src/Rules.hpp index ff2c013..66ff854 100644 --- a/ESPFirewall/lib/Firewall/src/Rules.hpp +++ b/ESPFirewall/lib/Firewall/src/Rules.hpp @@ -3,7 +3,6 @@ #include "Utils.hpp" #include "Storage.hpp" -#include "WString.h" namespace fw { diff --git a/ESPFirewall/src/main.cpp b/ESPFirewall/src/main.cpp index 5b8e8fa..9494cff 100644 --- a/ESPFirewall/src/main.cpp +++ b/ESPFirewall/src/main.cpp @@ -1,9 +1,9 @@ #include "theSecrets.h" #ifdef ESP32 -#include +#include "WiFi.h" #elif defined(ESP8266) -#include +#include "ESP8266WiFi.h" #endif #include "Firewall.hpp"