From 02b0fef5b8d2dae79ed735730401bf2af32c8682 Mon Sep 17 00:00:00 2001 From: mrengineer7777 <44048235+mrengineer7777@users.noreply.github.com> Date: Thu, 10 Mar 2022 15:44:26 -0600 Subject: [PATCH] Add missing include in AsyncUDP.h In my project I'm getting the error ``` In file included from lib/Discovery/Discovery.cpp:2: C:/Users/David/.platformio/packages/framework-arduinoespressif32/libraries/AsyncUDP/src/AsyncUDP.h:47:1: error: expected class-name before '{' token ``` Adding a reference to Stream.h fixes it. --- libraries/AsyncUDP/src/AsyncUDP.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/AsyncUDP/src/AsyncUDP.h b/libraries/AsyncUDP/src/AsyncUDP.h index 3f3724a8af8..95e0b8c1358 100644 --- a/libraries/AsyncUDP/src/AsyncUDP.h +++ b/libraries/AsyncUDP/src/AsyncUDP.h @@ -4,6 +4,7 @@ #include "IPAddress.h" #include "IPv6Address.h" #include "Print.h" +#include "Stream.h" #include extern "C" { #include "lwip/ip_addr.h"