]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'mh/mingw-case-sensitive-build'
authorJunio C Hamano <gitster@pobox.com>
Tue, 25 Jul 2023 19:05:23 +0000 (12:05 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 25 Jul 2023 19:05:23 +0000 (12:05 -0700)
Names of MinGW header files are spelled in mixed case in some
source files, but the build host can be using case sensitive
filesystem with header files with their name spelled in all
lowercase.

* mh/mingw-case-sensitive-build:
  mingw: use lowercase includes for some Windows headers

compat/win32/trace2_win32_process_info.c
wrapper.c

index a2b1506f9c9bb94ed8fa6e7355c98a63811e7e94..3ef0936f6ff9711caed8c22c8aebd92eb4be6e30 100644 (file)
@@ -3,8 +3,8 @@
 #include "../../repository.h"
 #include "../../trace2.h"
 #include "lazyload.h"
-#include <Psapi.h>
-#include <tlHelp32.h>
+#include <psapi.h>
+#include <tlhelp32.h>
 
 /*
  * An arbitrarily chosen value to limit the size of the ancestor
index 22be9812a7246f377fc5d1abed89599049c6d899..fb996f631a6f54d6b857e98a732a016730f14619 100644 (file)
--- a/wrapper.c
+++ b/wrapper.c
@@ -16,7 +16,7 @@ static intmax_t count_fsync_hardware_flush;
 #ifdef HAVE_RTLGENRANDOM
 /* This is required to get access to RtlGenRandom. */
 #define SystemFunction036 NTAPI SystemFunction036
-#include <NTSecAPI.h>
+#include <ntsecapi.h>
 #undef SystemFunction036
 #endif