mirror of
https://github.com/openwrt/packages.git
synced 2025-12-24 08:28:20 +04:00
Merge pull request #16070 from neheb/email
emailrelay: fix compilation with GCC11
This commit is contained in:
20
mail/emailrelay/patches/010-gcc11.patch
Normal file
20
mail/emailrelay/patches/010-gcc11.patch
Normal file
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user