From: Bruno Haible Date: Thu, 10 May 2018 22:36:14 +0000 (+0200) Subject: cond tests: Fix compilation error on Solaris. X-Git-Tag: v1.0~5623 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=617bc96d54db37c138bafb1872056de4453a248b;p=gnulib.git cond tests: Fix compilation error on Solaris. * tests/test-cond.c: Include before defining 'yield' as a macro. --- diff --git a/ChangeLog b/ChangeLog index 772166e979..a07d912481 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2018-05-10 Bruno Haible + + cond tests: Fix compilation error on Solaris. + * tests/test-cond.c: Include before defining 'yield' as a + macro. + 2018-05-10 Bruno Haible doc: Add partial info about Android 4.3. diff --git a/tests/test-cond.c b/tests/test-cond.c index d2bf560e71..658596f4bd 100644 --- a/tests/test-cond.c +++ b/tests/test-cond.c @@ -36,6 +36,7 @@ #include #include #include +#include #include "glthread/cond.h" #include "glthread/lock.h" @@ -58,7 +59,6 @@ /* * Condition check */ -#include static int cond_value = 0; gl_cond_define_initialized(static, condtest) gl_lock_define_initialized(static, lockcond)