kea/kea-gcc11.patch
2020-10-15 16:51:03 -06:00

37 lines
1.1 KiB
Diff

diff --git a/src/lib/database/backend_selector.cc b/src/lib/database/backend_selector.cc
index cea5a53..2c3c07d 100644
--- a/src/lib/database/backend_selector.cc
+++ b/src/lib/database/backend_selector.cc
@@ -7,6 +7,7 @@
#include <database/backend_selector.h>
#include <exceptions/exceptions.h>
#include <climits>
+#include <limits>
#include <sstream>
using namespace isc::data;
diff --git a/src/lib/dhcpsrv/cfg_hosts_util.cc b/src/lib/dhcpsrv/cfg_hosts_util.cc
index 11c9e87..b5eab53 100644
--- a/src/lib/dhcpsrv/cfg_hosts_util.cc
+++ b/src/lib/dhcpsrv/cfg_hosts_util.cc
@@ -5,6 +5,7 @@
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
#include <config.h>
+#include <limits>
#include <cc/data.h>
#include <dhcpsrv/subnet_id.h>
diff --git a/src/lib/dhcpsrv/network_state.cc b/src/lib/dhcpsrv/network_state.cc
index a86a346..94451ca 100644
--- a/src/lib/dhcpsrv/network_state.cc
+++ b/src/lib/dhcpsrv/network_state.cc
@@ -6,6 +6,7 @@
#include <config.h>
+#include <limits>
#include <exceptions/exceptions.h>
#include <dhcpsrv/network_state.h>
#include <dhcpsrv/timer_mgr.h>