From d45965e22d8cb1bcc1d49c7c0f67f9b6a78fe3fc Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Tue, 6 Jul 2021 20:48:54 -0700 Subject: [PATCH] emailrelay: fix compilation with GCC11 Missing header. Signed-off-by: Rosen Penev --- mail/emailrelay/patches/010-gcc11.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 mail/emailrelay/patches/010-gcc11.patch 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 + -- 2.30.2