From: Collin Funk Date: Tue, 4 Jun 2024 18:21:04 +0000 (-0700) Subject: boot-time, readutmp: Fix missing MinGW include (regr. 2024-05-24). X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=71f5170b3933e5a82096eda515343fc0c221279b;p=gnulib.git boot-time, readutmp: Fix missing MinGW include (regr. 2024-05-24). Reported by Eli Zaretskii in: . * lib/boot-time.c [_WIN32 && !__CYGWIN__]: Remove unnecessary include. Some systems do not have this header and should have the correct declarations. * lib/readutmp.c [_WIN32 && !__CYGWIN__]: Likewise. --- diff --git a/ChangeLog b/ChangeLog index 87e652d9f4..ebf06f64f0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2024-06-04 Collin Funk + + boot-time, readutmp: Fix missing MinGW include (regr. 2024-05-24). + Reported by Eli Zaretskii in: + . + * lib/boot-time.c [_WIN32 && !__CYGWIN__]: Remove unnecessary + include. Some systems do not have this header and + should have the correct declarations. + * lib/readutmp.c [_WIN32 && !__CYGWIN__]: Likewise. + 2024-06-03 Bruno Haible readlinkat: Work around a Cygwin 3.3.6 bug. diff --git a/lib/boot-time.c b/lib/boot-time.c index 71562dcf75..515fc48069 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 diff --git a/lib/readutmp.c b/lib/readutmp.c index 82b9d4ca33..10d79d1d81 100644 --- a/lib/readutmp.c +++ b/lib/readutmp.c @@ -54,7 +54,6 @@ #if defined _WIN32 && ! defined __CYGWIN__ # define WIN32_LEAN_AND_MEAN # include -# include # include #endif