1From b3e8930ccbaeeb77a4cd8b0fffbe52a208aa9a29 Mon Sep 17 00:00:00 2001 2From: Fabrice Fontaine <fontaine.fabrice@gmail.com> 3Date: Thu, 23 Nov 2023 22:45:56 +0100 4Subject: [PATCH] src/oatpp/core/base/Environment.hpp: include cstdarg 5 6Include cstdarg to fix the following build failure with uclibc-ng: 7 8In file included from /home/autobuild/autobuild/instance-4/output-1/build/oatpp-1.3.0/src/oatpp/algorithm/CRC.hpp:28, 9 from /home/autobuild/autobuild/instance-4/output-1/build/oatpp-1.3.0/src/oatpp/algorithm/CRC.cpp:25: 10/home/autobuild/autobuild/instance-4/output-1/build/oatpp-1.3.0/src/oatpp/core/base/Environment.hpp:359:93: error: 'va_list' has not been declared 11 359 | static void vlogFormatted(v_uint32 priority, const std::string& tag, const char* message, va_list args); 12 | ^~~~~~~ 13 14Fixes: 15 - http://autobuild.buildroot.org/results/bcdf7548ff752f936defd111d13c63245ea70cbe 16 17Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> 18Upstream: https://github.com/oatpp/oatpp/commit/1d11558e2cbbabc0db02a233bf00d651ce5ea758 19--- 20 src/oatpp/core/base/Environment.hpp | 1 + 21 1 file changed, 1 insertion(+) 22 23diff --git a/src/oatpp/core/base/Environment.hpp b/src/oatpp/core/base/Environment.hpp 24index fd77a5c6..05d5c949 100644 25--- a/src/oatpp/core/base/Environment.hpp 26+++ b/src/oatpp/core/base/Environment.hpp 27@@ -29,6 +29,7 @@ 28 #include "./Compiler.hpp" 29 #include "./Config.hpp" 30 31+#include <cstdarg> 32 #include <cstdio> 33 #include <atomic> 34 #include <mutex> 35-- 362.42.0 37 38