Andrew Geissler | 97771a3 | 2021-03-05 15:23:11 -0600 | [diff] [blame^] | 1 | From fda0713ce3e07786757a057abe7ebf2146d33780 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Tue, 2 Mar 2021 18:31:45 -0800 |
| 4 | Subject: [PATCH] cxxopts: Add limits header |
| 5 | |
| 6 | needed for numeric_limits |
| 7 | |
| 8 | Upstream-Status: Submitted [https://github.com/apache/nifi-minifi-cpp/pull/1021] |
| 9 | Signed-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 { |