mirror of
https://github.com/coolsnowwolf/packages.git
synced 2025-05-01 09:42:02 +08:00
kea: fix compilation with GCC11
Missing header. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
fa3189d199
commit
2f2be1a80b
21
net/kea/patches/030-gcc11.patch
Normal file
21
net/kea/patches/030-gcc11.patch
Normal file
@ -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 {
|
Loading…
Reference in New Issue
Block a user