]> 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)
committerBruno Haible <bruno@clisp.org>
Thu, 6 Jun 2024 22:59:02 +0000 (00:59 +0200)
commit71f5170b3933e5a82096eda515343fc0c221279b
tree67b4b9a31bb60190dd848baf36a93071a9f26382
parent861b8d3deb4ba850338c9d6092db9dd841947796
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