blob: ef26c475d8cf390bde57056be61252bbb39e1111 [file] [log] [blame]
Andrew Geissler97771a32021-03-05 15:23:11 -06001From fda0713ce3e07786757a057abe7ebf2146d33780 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 2 Mar 2021 18:31:45 -0800
4Subject: [PATCH] cxxopts: Add limits header
5
6needed for numeric_limits
7
8Upstream-Status: Submitted [https://github.com/apache/nifi-minifi-cpp/pull/1021]
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 thirdparty/cxxopts/include/cxxopts.hpp | 1 +
12 1 file changed, 1 insertion(+)
13
14--- a/thirdparty/cxxopts/include/cxxopts.hpp
15+++ b/thirdparty/cxxopts/include/cxxopts.hpp
16@@ -29,6 +29,7 @@ THE SOFTWARE.
17 #include <cctype>
18 #include <exception>
19 #include <iostream>
20+#include <limits>
21 #include <map>
22 #include <memory>
23 #include <regex>
24--- a/libminifi/src/utils/StringUtils.cpp
25+++ b/libminifi/src/utils/StringUtils.cpp
26@@ -21,6 +21,8 @@
27 #include <Windows.h>
28 #endif
29
30+#include <limits>
31+
32 namespace org {
33 namespace apache {
34 namespace nifi {