From 38f6f6272f1060036a7bae5d85d1ff7f080628fd Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 26 Feb 2021 23:31:15 -0800 Subject: [PATCH] include limits.h Fixes build with gcc11 backend_selector.cc:61:35: error: 'numeric_limits' is not a member of 'std' Signed-off-by: Khem Raj --- src/lib/database/backend_selector.cc | 2 +- src/lib/dhcpsrv/subnet_id.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/database/backend_selector.cc b/src/lib/database/backend_selector.cc index 0f61fe8333..9073ad5899 100644 --- a/src/lib/database/backend_selector.cc +++ b/src/lib/database/backend_selector.cc @@ -8,7 +8,7 @@ #include #include -#include +#include #include using namespace isc::data; diff --git a/src/lib/dhcpsrv/subnet_id.h b/src/lib/dhcpsrv/subnet_id.h index 77c2adf71d..b5b869dcb8 100644 --- a/src/lib/dhcpsrv/subnet_id.h +++ b/src/lib/dhcpsrv/subnet_id.h @@ -10,6 +10,7 @@ #include #include #include +#include namespace isc { namespace dhcp {