kea: fix compilation with GCC11
authorRosen Penev <rosenp@gmail.com>
Wed, 7 Jul 2021 20:30:02 +0000 (13:30 -0700)
committerRosen Penev <rosenp@gmail.com>
Wed, 7 Jul 2021 21:48:51 +0000 (14:48 -0700)
Missing header.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
net/kea/patches/030-gcc11.patch [new file with mode: 0644]

diff --git a/net/kea/patches/030-gcc11.patch b/net/kea/patches/030-gcc11.patch
new file mode 100644 (file)
index 0000000..5110815
--- /dev/null
@@ -0,0 +1,21 @@
+--- a/src/lib/database/backend_selector.cc
++++ b/src/lib/database/backend_selector.cc
+@@ -6,7 +6,7 @@
+ #include <database/backend_selector.h>
+ #include <exceptions/exceptions.h>
+-#include <climits>
++#include <limits>
+ #include <sstream>
+ using namespace isc::data;
+--- a/src/lib/dhcpsrv/subnet_id.h
++++ b/src/lib/dhcpsrv/subnet_id.h
+@@ -10,6 +10,7 @@
+ #include <exceptions/exceptions.h>
+ #include <stdint.h>
+ #include <typeinfo>
++#include <limits>
+ namespace isc {
+ namespace dhcp {