mirror of https://github.com/openwrt/packages.git
emailrelay: fix compilation with GCC11
Missing header. Signed-off-by: Rosen Penev <rosenp@gmail.com>pull/16070/head
parent
e38c5e48bd
commit
d45965e22d
|
@ -0,0 +1,20 @@
|
||||||
|
--- a/src/gnet/gsocket.h
|
||||||
|
+++ b/src/gnet/gsocket.h
|
||||||
|
@@ -27,6 +27,7 @@
|
||||||
|
#include "gevent.h"
|
||||||
|
#include "gdescriptor.h"
|
||||||
|
#include "greadwrite.h"
|
||||||
|
+#include <memory>
|
||||||
|
#include <string>
|
||||||
|
#include <new>
|
||||||
|
|
||||||
|
--- a/src/gssl/gssl.h
|
||||||
|
+++ b/src/gssl/gssl.h
|
||||||
|
@@ -26,6 +26,7 @@
|
||||||
|
#include "gdef.h"
|
||||||
|
#include "gstrings.h"
|
||||||
|
#include "greadwrite.h"
|
||||||
|
+#include <memory>
|
||||||
|
#include <string>
|
||||||
|
#include <utility>
|
||||||
|
|
Loading…
Reference in New Issue