mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 17:39:31 +00:00
605dcc2ad8
Since the test program fails to compile, configure thinks compiler is not having thread support and bails out (From OE-Core rev: 232f97405a3e69cf9e54d4de0a8f1593da747603) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
36 lines
964 B
Diff
36 lines
964 B
Diff
From 7bca122e15bbe98c7b8da851ef3e1cf9a714afd9 Mon Sep 17 00:00:00 2001
|
|
From: Khem Raj <raj.khem@gmail.com>
|
|
Date: Fri, 26 Feb 2021 23:31:15 -0800
|
|
Subject: [PATCH] include limits.h
|
|
|
|
Fixes build with gcc11
|
|
backend_selector.cc:61:35: error: 'numeric_limits' is not a member of 'std'
|
|
|
|
Upstream-Status: Submitted [https://github.com/isc-projects/kea/pull/120]
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
---
|
|
src/lib/exceptions/exceptions.h | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
--- 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 {
|