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=3f3aea34faaabd04ab72098f3fe9b9b36298aacb;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 340efb2de3..21db18416b 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-06 Paul Eggert gnulib-tool: simplify/speed startup 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