From: Bruno Haible Date: Sun, 7 Jul 2024 00:53:37 +0000 (+0200) Subject: pthread-cond: Fix compilation error on native Windows. X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=e46c53598ad36a1fd28c4aae6f9d27e3cfef300d;p=gnulib.git pthread-cond: Fix compilation error on native Windows. * lib/pthread-cond.c: Include windows-cond.h, not windows-thread.h. --- diff --git a/ChangeLog b/ChangeLog index 16ca14ad41..29d02be979 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2024-07-06 Bruno Haible + + pthread-cond: Fix compilation error on native Windows. + * lib/pthread-cond.c: Include windows-cond.h, not windows-thread.h. + 2024-07-01 Bruno Haible Avoid some possibly wrong configure test results. diff --git a/lib/pthread-cond.c b/lib/pthread-cond.c index 380cdfd357..ca22e0373b 100644 --- a/lib/pthread-cond.c +++ b/lib/pthread-cond.c @@ -22,7 +22,7 @@ #include #if (defined _WIN32 && ! defined __CYGWIN__) && USE_WINDOWS_THREADS -# include "windows-thread.h" +# include "windows-cond.h" #else # include # include