From: Eli Zaretskii Date: Tue, 4 Jun 2024 16:12:38 +0000 (+0300) Subject: Fix the build with mingw.org's MinGW X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ae21f026c36aae84d8af99a7c8824f832a2a03dd;p=emacs.git 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) --- 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