]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix the build with mingw.org's MinGW
authorEli Zaretskii <eliz@gnu.org>
Tue, 4 Jun 2024 16:12:38 +0000 (19:12 +0300)
committerEshel Yaron <me@eshelyaron.com>
Wed, 5 Jun 2024 10:14:57 +0000 (12:14 +0200)
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 <windows.h>.
* lib/boot-time.c: Don't include sysinfoapi.h.

(cherry picked from commit 43c354a0004145c04bbc6adf0cfaa8c21403ad8c)

lib/boot-time.c

index 71562dcf751af3ca05d903e319d75f997f7776ee..515fc48069a4757eab92753cbce9bf33a4b77e09 100644 (file)
@@ -46,7 +46,6 @@
 #if defined _WIN32 && ! defined __CYGWIN__
 # define WIN32_LEAN_AND_MEAN
 # include <windows.h>
-# include <sysinfoapi.h>
 # include <sys/time.h>
 #endif