From 5862e135acf3b5165a9f07ed01f6e1f6865e885c Mon Sep 17 00:00:00 2001 From: tueddy Date: Fri, 15 Mar 2024 15:44:46 +0100 Subject: [PATCH] make the build pass on esp8266 --- src/AsyncEventSource.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/AsyncEventSource.cpp b/src/AsyncEventSource.cpp index 3a2f9ea..1c34c85 100644 --- a/src/AsyncEventSource.cpp +++ b/src/AsyncEventSource.cpp @@ -19,7 +19,9 @@ */ #include "Arduino.h" #include "AsyncEventSource.h" -#include +#ifndef ESP8266 + #include +#endif static String generateEventMessage(const char *message, const char *event, uint32_t id, uint32_t reconnect){ String ev;