dnsdist: fix compilation with GCC11
authorRosen Penev <redacted>
Wed, 7 Jul 2021 21:46:29 +0000 (14:46 -0700)
committerRosen Penev <redacted>
Wed, 7 Jul 2021 21:47:12 +0000 (14:47 -0700)
Missing header.

Signed-off-by: Rosen Penev <redacted>
net/dnsdist/patches/020-gcc11.patch [new file with mode: 0644]

diff --git a/net/dnsdist/patches/020-gcc11.patch b/net/dnsdist/patches/020-gcc11.patch
new file mode 100644 (file)
index 0000000..485beab
--- /dev/null
@@ -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 <mutex>
+ #include <shared_mutex>
+ class ReadWriteLock
git clone https://git.99rst.org/PROJECT