]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
add missing includes (Fedora 34, gcc 11.1 / clang 12) 10400/head
authorKees Monshouwer <mind04@monshouwer.org>
Tue, 11 May 2021 08:27:01 +0000 (10:27 +0200)
committermind04 <mind04@monshouwer.org>
Wed, 12 May 2021 22:42:51 +0000 (00:42 +0200)
pdns/histogram.hh
pdns/lock.hh

index 9584536f0b6dc03d3aa2dc171273757669202d6d..4042ce1fb7688df70500a4f2077e04bb99ca69bd 100644 (file)
@@ -23,6 +23,7 @@
 
 #include <algorithm>
 #include <atomic>
+#include <limits>
 #include <stdexcept>
 #include <string>
 #include <vector>
index 09299d7979de51cd6bee4a7289315311022b5f6f..0644502f87122f9cb2d665b49e03e80660d812c9 100644 (file)
@@ -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