diff --git a/test/gtest-extra.h b/test/gtest-extra.h index e08c94c0..71859835 100644 --- a/test/gtest-extra.h +++ b/test/gtest-extra.h @@ -15,6 +15,10 @@ #include "fmt/os.h" #include "gmock/gmock.h" +#ifdef _MSC_VER +# include +#endif + #define FMT_TEST_THROW_(statement, expected_exception, expected_message, fail) \ GTEST_AMBIGUOUS_ELSE_BLOCKER_ \ if (::testing::AssertionResult gtest_ar = ::testing::AssertionSuccess()) { \