From 71f5170b3933e5a82096eda515343fc0c221279b Mon Sep 17 00:00:00 2001 From: Collin Funk Date: Tue, 4 Jun 2024 11:21:04 -0700 Subject: [PATCH] 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. --- ChangeLog | 10 ++++++++++ lib/boot-time.c | 1 - lib/readutmp.c | 1 - 3 files changed, 10 insertions(+), 2 deletions(-) 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 -- 2.39.5