未验证 提交 e87b87d0 编写于 作者: M mrengineer7777 提交者: GitHub

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.
上级 9b9744f2
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
#include "IPAddress.h" #include "IPAddress.h"
#include "IPv6Address.h" #include "IPv6Address.h"
#include "Print.h" #include "Print.h"
#include "Stream.h"
#include <functional> #include <functional>
extern "C" { extern "C" {
#include "lwip/ip_addr.h" #include "lwip/ip_addr.h"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册