From b59a8146feed286e44b5794ee6f089c051fe501d Mon Sep 17 00:00:00 2001 From: fvanroie <15969459+fvanroie@users.noreply.github.com> Date: Fri, 5 Nov 2021 03:40:10 +0100 Subject: [PATCH] Fix build error --- src/hasp/hasp_page.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/hasp/hasp_page.cpp b/src/hasp/hasp_page.cpp index c42a6350..e29cd1f3 100644 --- a/src/hasp/hasp_page.cpp +++ b/src/hasp/hasp_page.cpp @@ -2,13 +2,16 @@ For full license information read the LICENSE file in the project folder */ #include "hasplib.h" -#include "hasp_filesystem.h" #include #if defined(ARDUINO) #include "StreamUtils.h" // For EEPromStream + +#if HASP_USE_SPIFFS > 0 || HASP_USE_LITTLEFS > 0 +#include "hasp_filesystem.h" #endif +#endif // ARDUINO namespace hasp {