diff --git a/test/cpp/BitstreamTests.cpp b/test/cpp/BitstreamTests.cpp index 5aa382c..35f881a 100644 --- a/test/cpp/BitstreamTests.cpp +++ b/test/cpp/BitstreamTests.cpp @@ -6,7 +6,8 @@ * TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A * PARTICULAR PURPOSE AND NONINFRINGEMENT. */ -#include +#include +#include #include #include diff --git a/test/cpp/CMakeLists.txt b/test/cpp/CMakeLists.txt index e41d38b..a49cffe 100644 --- a/test/cpp/CMakeLists.txt +++ b/test/cpp/CMakeLists.txt @@ -1,7 +1,7 @@ add_executable(cpptests) -find_package(Catch2 CONFIG REQUIRED) +find_package(Catch2 3.0 CONFIG REQUIRED) target_link_libraries(cpptests PRIVATE inflatelib::inflatelib diff --git a/test/cpp/HuffmanTreeTests.cpp b/test/cpp/HuffmanTreeTests.cpp index 0798c32..4bc0a98 100644 --- a/test/cpp/HuffmanTreeTests.cpp +++ b/test/cpp/HuffmanTreeTests.cpp @@ -6,7 +6,7 @@ * TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A * PARTICULAR PURPOSE AND NONINFRINGEMENT. */ -#include +#include #include #include diff --git a/test/cpp/InflateTests.cpp b/test/cpp/InflateTests.cpp index 9fcc10f..767fe9a 100644 --- a/test/cpp/InflateTests.cpp +++ b/test/cpp/InflateTests.cpp @@ -6,7 +6,7 @@ * TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A * PARTICULAR PURPOSE AND NONINFRINGEMENT. */ -#include +#include #define __STDC_WANT_LIB_EXT1__ 1 /* For fopen_s */ #include diff --git a/test/cpp/WindowTests.cpp b/test/cpp/WindowTests.cpp index 434d68e..606775d 100644 --- a/test/cpp/WindowTests.cpp +++ b/test/cpp/WindowTests.cpp @@ -6,7 +6,8 @@ * TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A * PARTICULAR PURPOSE AND NONINFRINGEMENT. */ -#include +#include +#include #include #include