Browse Source

Merge pull request #16067 from neheb/dn

dnsdist: fix compilation with GCC11
lilik-openwrt-22.03
Rosen Penev 3 years ago
committed by GitHub
parent
commit
6e9e50641b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
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