From: Rosen Penev Date: Wed, 7 Jul 2021 21:46:29 +0000 (-0700) Subject: dnsdist: fix compilation with GCC11 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=e8ae9fb45fe09de53c012a64ba06ede397d3f1e9;p=feed%2Fpackages.git dnsdist: fix compilation with GCC11 Missing header. Signed-off-by: Rosen Penev --- diff --git a/net/dnsdist/patches/020-gcc11.patch b/net/dnsdist/patches/020-gcc11.patch new file mode 100644 index 0000000000..485beabea5 --- /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