From e46c53598ad36a1fd28c4aae6f9d27e3cfef300d Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 7 Jul 2024 02:53:37 +0200 Subject: [PATCH] pthread-cond: Fix compilation error on native Windows. * lib/pthread-cond.c: Include windows-cond.h, not windows-thread.h. --- ChangeLog | 5 +++++ lib/pthread-cond.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 -- 2.39.5