]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
include limits.h
authorKhem Raj <raj.khem@gmail.com>
Sat, 27 Feb 2021 07:31:15 +0000 (23:31 -0800)
committerTomek Mrugalski <tomek@isc.org>
Thu, 20 May 2021 09:21:06 +0000 (11:21 +0200)
Fixes build with gcc11
backend_selector.cc:61:35: error: 'numeric_limits' is not a member of 'std'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
src/lib/database/backend_selector.cc
src/lib/dhcpsrv/subnet_id.h

index 0f61fe8333dc8471b98e2a5681a09cad4ef3666b..9073ad5899a538df63938a730f1dc48ee54860e6 100644 (file)
@@ -8,7 +8,7 @@
 
 #include <database/backend_selector.h>
 #include <exceptions/exceptions.h>
-#include <climits>
+#include <limits>
 #include <sstream>
 
 using namespace isc::data;
index 77c2adf71d5c07945bd6b7d88e374c6f484312e7..b5b869dcb8f9a0cb30998b9c28aeafd2bb76d454 100644 (file)
@@ -10,6 +10,7 @@
 #include <exceptions/exceptions.h>
 #include <stdint.h>
 #include <typeinfo>
+#include <limits>
 
 namespace isc {
 namespace dhcp {