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 {
|