25 lines
547 B
Diff
25 lines
547 B
Diff
diff --git a/pdns/dnsdist-protocols.hh b/pdns/dnsdist-protocols.hh
|
|
index a90e6e0c5..7a6b3184f 100644
|
|
--- a/pdns/dnsdist-protocols.hh
|
|
+++ b/pdns/dnsdist-protocols.hh
|
|
@@ -22,6 +22,7 @@
|
|
#pragma once
|
|
|
|
#include <vector>
|
|
+#include <cstdint>
|
|
#include <string>
|
|
|
|
namespace dnsdist
|
|
diff --git a/pdns/lock.hh b/pdns/lock.hh
|
|
index e8bd82988..a08951a26 100644
|
|
--- a/pdns/lock.hh
|
|
+++ b/pdns/lock.hh
|
|
@@ -22,6 +22,7 @@
|
|
#pragma once
|
|
#include <mutex>
|
|
#include <shared_mutex>
|
|
+#include <stdexcept>
|
|
|
|
/*
|
|
This file provides several features around locks:
|