mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 23:34:31 +04:00
kea: fix compilation with GCC11
Missing header. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
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 {
|
||||||
Reference in New Issue
Block a user