diff --git a/tasmota/sendemail.ino b/tasmota/sendemail.ino index cd7f849ce..dd2539b4f 100644 --- a/tasmota/sendemail.ino +++ b/tasmota/sendemail.ino @@ -416,7 +416,12 @@ void xsend_message_txt(char *msg) { } #if (defined(USE_SCRIPT_FATFS) && defined(USE_SCRIPT)) || defined(USE_UFILESYS) +#ifdef ESP8266 #include +#endif // ESP8266 +#ifdef ESP32 +#include +#endif // ESP32 extern FS *ufsp; void attach_File(char *path) {