mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 21:24:31 +04:00
dnsdist: fix compilation with GCC11
Missing header. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
10
net/dnsdist/patches/020-gcc11.patch
Normal file
10
net/dnsdist/patches/020-gcc11.patch
Normal 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
|
||||||
Reference in New Issue
Block a user