Browse Source
Merge pull request #16070 from neheb/email
emailrelay: fix compilation with GCC11
lilik-openwrt-22.03
Rosen Penev
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
20 additions and
0 deletions
-
mail/emailrelay/patches/010-gcc11.patch
|
|
@ -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> |
|
|
|
|