emailrelay: fix compilation with GCC11 16070/head
authorRosen Penev <rosenp@gmail.com>
Wed, 7 Jul 2021 03:48:54 +0000 (20:48 -0700)
committerRosen Penev <rosenp@gmail.com>
Wed, 7 Jul 2021 21:51:09 +0000 (14:51 -0700)
Missing header.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
mail/emailrelay/patches/010-gcc11.patch [new file with mode: 0644]

diff --git a/mail/emailrelay/patches/010-gcc11.patch b/mail/emailrelay/patches/010-gcc11.patch
new file mode 100644 (file)
index 0000000..29ad358
--- /dev/null
@@ -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>