aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/minifi-cpp/files/0001-cxxopts-Add-limits-header.patch
blob: ef26c475d8cf390bde57056be61252bbb39e1111 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
From fda0713ce3e07786757a057abe7ebf2146d33780 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Tue, 2 Mar 2021 18:31:45 -0800
Subject: [PATCH] cxxopts: Add limits header

needed for numeric_limits

Upstream-Status: Submitted [https://github.com/apache/nifi-minifi-cpp/pull/1021]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 thirdparty/cxxopts/include/cxxopts.hpp | 1 +
 1 file changed, 1 insertion(+)

--- a/thirdparty/cxxopts/include/cxxopts.hpp
+++ b/thirdparty/cxxopts/include/cxxopts.hpp
@@ -29,6 +29,7 @@ THE SOFTWARE.
 #include <cctype>
 #include <exception>
 #include <iostream>
+#include <limits>
 #include <map>
 #include <memory>
 #include <regex>
--- a/libminifi/src/utils/StringUtils.cpp
+++ b/libminifi/src/utils/StringUtils.cpp
@@ -21,6 +21,8 @@
 #include <Windows.h>
 #endif
 
+#include <limits>
+
 namespace org {
 namespace apache {
 namespace nifi {