Add missing include in AsyncUDP.h (#6412)

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.
This commit is contained in:
mrengineer7777
2022-03-14 05:44:24 -05:00
committed by GitHub
parent 9b9744f25f
commit e87b87d04c

View File

@ -4,6 +4,7 @@
#include "IPAddress.h"
#include "IPv6Address.h"
#include "Print.h"
#include "Stream.h"
#include <functional>
extern "C" {
#include "lwip/ip_addr.h"