From ae21f026c36aae84d8af99a7c8824f832a2a03dd Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Tue, 4 Jun 2024 19:12:38 +0300 Subject: [PATCH] Fix the build with mingw.org's MinGW The change in boot-time.c imported from Gnulib broke the MinGW build using mingw.org's MinGW. It is wrong to include sysinfoapi.h, MS documentation says to include . * lib/boot-time.c: Don't include sysinfoapi.h. (cherry picked from commit 43c354a0004145c04bbc6adf0cfaa8c21403ad8c) --- lib/boot-time.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/boot-time.c b/lib/boot-time.c index 71562dcf751..515fc48069a 100644 --- a/lib/boot-time.c +++ b/lib/boot-time.c @@ -46,7 +46,6 @@ #if defined _WIN32 && ! defined __CYGWIN__ # define WIN32_LEAN_AND_MEAN # include -# include # include #endif -- 2.39.5