From: Rosen Penev Date: Wed, 7 Jul 2021 03:48:54 +0000 (-0700) Subject: emailrelay: fix compilation with GCC11 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d45965e22d8cb1bcc1d49c7c0f67f9b6a78fe3fc;p=feed%2Fpackages.git emailrelay: fix compilation with GCC11 Missing header. Signed-off-by: Rosen Penev --- diff --git a/mail/emailrelay/patches/010-gcc11.patch b/mail/emailrelay/patches/010-gcc11.patch new file mode 100644 index 0000000000..29ad358e81 --- /dev/null +++ b/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 + #include + #include + +--- a/src/gssl/gssl.h ++++ b/src/gssl/gssl.h +@@ -26,6 +26,7 @@ + #include "gdef.h" + #include "gstrings.h" + #include "greadwrite.h" ++#include + #include + #include +