diff --git a/tests/main/CommandLineParserTest.cpp b/tests/main/CommandLineParserTest.cpp old mode 100644 new mode 100755 index b2b16678..db93f239 --- a/tests/main/CommandLineParserTest.cpp +++ b/tests/main/CommandLineParserTest.cpp @@ -40,6 +40,7 @@ #include "catch.h" +#include "nzbget.h" #include "CommandLineParser.h" TEST_CASE("Command line parser: initializing without configuration file", "[CommandLineParser][Quick]") diff --git a/tests/main/OptionsTest.cpp b/tests/main/OptionsTest.cpp old mode 100644 new mode 100755 index 2536c656..a849f5f3 --- a/tests/main/OptionsTest.cpp +++ b/tests/main/OptionsTest.cpp @@ -40,6 +40,7 @@ #include "catch.h" +#include "nzbget.h" #include "Options.h" class OptionsExtenderMock : public Options::Extender diff --git a/tests/suite/TestMain.cpp b/tests/suite/TestMain.cpp old mode 100644 new mode 100755 index 6e24ee64..c9c88ad5 --- a/tests/suite/TestMain.cpp +++ b/tests/suite/TestMain.cpp @@ -36,6 +36,7 @@ #define CATCH_CONFIG_RUNNER #include "catch.h" +#include "nzbget.h" #include "Thread.h" #include "Log.h" #include "Util.h" diff --git a/tests/util/UtilTest.cpp b/tests/util/UtilTest.cpp index b528eac5..c5694b28 100755 --- a/tests/util/UtilTest.cpp +++ b/tests/util/UtilTest.cpp @@ -22,6 +22,15 @@ * */ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#ifdef WIN32 +#include "win32.h" +#endif + #include #include #include