Browse Source

kea: fix compilation with GCC11

Missing header.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 4 years ago
parent
commit
a2332f2bcb
1 changed files with 21 additions and 0 deletions
  1. +21
    -0
      net/kea/patches/030-gcc11.patch

+ 21
- 0
net/kea/patches/030-gcc11.patch View 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…
Cancel
Save