From 7e50e6baab8546e844c7a48bd0a928d076945a9c Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Tue, 20 Aug 2024 13:18:25 +0200 Subject: [PATCH] clar: stop including `shellapi.h` unnecessarily The `shellapi.h` header was included as of https://github.com/clar-test/clar/commit/136e763211aa, to have `SHFileOperation()` declared so that it could be called. However, https://github.com/clar-test/clar/commit/5ce31b69b525 removed that call, and therefore that `#include ` is unnecessary. It is also unwanted in Git because this project uses a subset of Git for Windows' SDK in its CI builds that (for bandwidth reasons) excludes tons of header files, including `shellapi.h`. So let's remove it. Signed-off-by: Johannes Schindelin --- t/unit-tests/clar/clar.c | 1 - 1 file changed, 1 deletion(-) diff --git a/t/unit-tests/clar/clar.c b/t/unit-tests/clar/clar.c index a097ff6a3aed06..8de51fff407867 100644 --- a/t/unit-tests/clar/clar.c +++ b/t/unit-tests/clar/clar.c @@ -21,7 +21,6 @@ #ifdef _WIN32 # include # include -# include # include # define _MAIN_CC __cdecl