Merge pull request #16067 from neheb/dn

dnsdist: fix compilation with GCC11
This commit is contained in:
Rosen Penev 2021-07-19 04:01:47 -07:00 committed by GitHub
commit 6e9e50641b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 0 deletions

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