From 714cf12822a0356a02caaca4c77d26fd63c6a2bd Mon Sep 17 00:00:00 2001 From: Charles Milette Date: Fri, 22 Apr 2022 23:28:28 -0400 Subject: [PATCH] Add fmt_helper.h include to includes.h and os-inl.h --- include/spdlog/details/os-inl.h | 1 + tests/includes.h | 1 + tests/test_fmt_helper.cpp | 1 - 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/spdlog/details/os-inl.h b/include/spdlog/details/os-inl.h index aa4ff709..4c17804b 100644 --- a/include/spdlog/details/os-inl.h +++ b/include/spdlog/details/os-inl.h @@ -33,6 +33,7 @@ # if defined(SPDLOG_WCHAR_TO_UTF8_SUPPORT) || defined(SPDLOG_WCHAR_FILENAMES) # include +# include # endif # include // for _mkdir/_wmkdir diff --git a/tests/includes.h b/tests/includes.h index 7285873a..e6805280 100644 --- a/tests/includes.h +++ b/tests/includes.h @@ -17,6 +17,7 @@ #include "spdlog/spdlog.h" #include "spdlog/async.h" +#include "spdlog/details/fmt_helper.h" #include "spdlog/sinks/basic_file_sink.h" #include "spdlog/sinks/daily_file_sink.h" #include "spdlog/sinks/null_sink.h" diff --git a/tests/test_fmt_helper.cpp b/tests/test_fmt_helper.cpp index a7edccf3..a9db5d02 100644 --- a/tests/test_fmt_helper.cpp +++ b/tests/test_fmt_helper.cpp @@ -1,6 +1,5 @@ #include "includes.h" -#include "spdlog/details/fmt_helper.h" using spdlog::memory_buf_t; using spdlog::details::fmt_helper::to_string_view;