]> Savannah Git Hosting - gnulib.git/commit
boot-time, readutmp: Fix missing MinGW include (regr. 2024-05-24).
authorCollin Funk <collin.funk1@gmail.com>
Tue, 4 Jun 2024 18:21:04 +0000 (11:21 -0700)
committerCollin Funk <collin.funk1@gmail.com>
Tue, 4 Jun 2024 18:21:04 +0000 (11:21 -0700)
commitc41b3f92e3b0e9bd42d0ac05d80f3d23b00b28d2
tree98a2ccd46902d8dffca4859a3e0b04e970883af9
parent66de6c8f05c0207c16581f2a5f1c2796868ba51b
boot-time, readutmp: Fix missing MinGW include (regr. 2024-05-24).

Reported by Eli Zaretskii in:
<https://lists.gnu.org/archive/html/bug-gnulib/2024-06/msg00044.html>.

* lib/boot-time.c [_WIN32 && !__CYGWIN__]: Remove unnecessary
<sysinfoapi.h> include. Some systems do not have this header and
<windows.h> should have the correct declarations.
* lib/readutmp.c [_WIN32 && !__CYGWIN__]: Likewise.
ChangeLog
lib/boot-time.c
lib/readutmp.c