From e8ae9fb45fe09de53c012a64ba06ede397d3f1e9 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Wed, 7 Jul 2021 14:46:29 -0700 Subject: [PATCH] dnsdist: fix compilation with GCC11 Missing header. Signed-off-by: Rosen Penev --- net/dnsdist/patches/020-gcc11.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 net/dnsdist/patches/020-gcc11.patch diff --git a/net/dnsdist/patches/020-gcc11.patch b/net/dnsdist/patches/020-gcc11.patch new file mode 100644 index 000000000..485beabea --- /dev/null +++ b/net/dnsdist/patches/020-gcc11.patch @@ -0,0 +1,10 @@ +--- a/lock.hh ++++ b/lock.hh +@@ -20,6 +20,7 @@ + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + #pragma once ++#include + #include + + class ReadWriteLock