dnsdist: fix compilation with GCC11

Missing header.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2021-07-07 14:46:29 -07:00 committed by Beginner-Go
parent 2c81e7027c
commit 4778d25c9f

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