From 1cafdc903f99b95b890fe6b4f2343bdb2a54b015 Mon Sep 17 00:00:00 2001 From: Leandro Nini Date: Sun, 18 Jan 2026 14:31:30 +0100 Subject: [PATCH] Add missing include Fixes this error on MinGW: ``` In file included from ../../../tests/utpp/utpp.h:1231, from ../../../tests/Main.cpp:21: ../../../tests/utpp/checks.h: In function 'bool UnitTest::CheckFileEqual(const std::string&, const std::string&, std::string&)': ../../../tests/utpp/checks.h:1266:15: error: aggregate 'UnitTest::CheckFileEqual(const std::string&, const std::string&, std::string&)::stat st1' has incomplete type and cannot be defined 1266 | struct stat st1, st2; | ^~~ ``` --- include/utpp/checks.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/utpp/checks.h b/include/utpp/checks.h index e4231fe..7198fe7 100644 --- a/include/utpp/checks.h +++ b/include/utpp/checks.h @@ -19,6 +19,7 @@ #include #include #include +#include /*! \ingroup checks