Browse Source

dnsdist: fix compilation with GCC11

Missing header.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 3 years ago
parent
commit
e8ae9fb45f
1 changed files with 10 additions and 0 deletions
  1. +10
    -0
      net/dnsdist/patches/020-gcc11.patch

+ 10
- 0
net/dnsdist/patches/020-gcc11.patch View File

@ -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

Loading…
Cancel
Save