packages/net/dnsdist/patches/020-gcc11.patch
Rosen Penev e8ae9fb45f dnsdist: fix compilation with GCC11
Missing header.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-07-07 14:47:12 -07:00

10 lines
213 B
Diff

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