From 617bc96d54db37c138bafb1872056de4453a248b Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Fri, 11 May 2018 00:36:14 +0200 Subject: [PATCH] cond tests: Fix compilation error on Solaris. * tests/test-cond.c: Include before defining 'yield' as a macro. --- ChangeLog | 6 ++++++ tests/test-cond.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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) -- 2.39.5