Browse Source

Merge pull request #16068 from neheb/kea

kea: fix compilation with GCC11
lilik-openwrt-22.03
Rosen Penev 3 years ago
committed by GitHub
parent
commit
a3a30041e4
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
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