diff --git a/Data/MySQL/testsuite/src/SQLExecutor.cpp b/Data/MySQL/testsuite/src/SQLExecutor.cpp index b0fb25947..9a16229a3 100644 --- a/Data/MySQL/testsuite/src/SQLExecutor.cpp +++ b/Data/MySQL/testsuite/src/SQLExecutor.cpp @@ -9,6 +9,10 @@ // SPDX-License-Identifier: BSL-1.0 // +#include +#include + + #include "Poco/CppUnit/TestCase.h" #include "SQLExecutor.h" #include "Poco/NumberParser.h" @@ -27,10 +31,12 @@ #include "Poco/Data/MySQL/Connector.h" #include "Poco/Data/MySQL/MySQLException.h" +#if POCO_MSVS_VERSION == 2015 +#define HAVE_STRUCT_TIMESPEC +#endif + #include #include -#include -#include #ifdef max #undef max