mingw: use lowercase includes for some Windows headers

When cross-compiling with the mingw toolchain on a system with a case sensitive filesystem, the mixed case (which is technically correct as per the contents of MS Visual C++) doesn't work (the corresponding mingw headers are all lowercase for some reason). Signed-off-by: Mike Hommey <mh@glandium.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Mike Hommey committed Jun 5, 2023 at 06:19 UTC 4a53d0d0bc1c04f012773d23e918ba45e96ddefb
2 files changed +3 -3
compat/win32/trace2_win32_process_info.c
+2 -2
@@ -3,8 +3,8 @@
3 #include "../../repository.h"
4 #include "../../trace2.h"
5 #include "lazyload.h"
6 -#include <Psapi.h>
7 -#include <tlHelp32.h>
6 +#include <psapi.h>
7 +#include <tlhelp32.h>
8
9 /*
10 * An arbitrarily chosen value to limit the size of the ancestor
wrapper.c
+1 -1
@@ -17,7 +17,7 @@ static intmax_t count_fsync_hardware_flush;
17 #ifdef HAVE_RTLGENRANDOM
18 /* This is required to get access to RtlGenRandom. */
19 #define SystemFunction036 NTAPI SystemFunction036
20 -#include <NTSecAPI.h>
20 +#include <ntsecapi.h>
21 #undef SystemFunction036
22 #endif
23