From fd291a5c138888a83274c00c4b8e17cb58d1c0f9 Mon Sep 17 00:00:00 2001 From: Rob Browning Date: Tue, 25 Mar 2003 23:54:01 +0000 Subject: [PATCH] * coop.c: replace usage of struct timespect with scm_t_timespec. #include if HAVE_CONFIG_H. --- libguile/coop.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/libguile/coop.c b/libguile/coop.c index c1e3ba293..70abe8e11 100644 --- a/libguile/coop.c +++ b/libguile/coop.c @@ -40,10 +40,14 @@ * If you do not wish that, delete this exception notice. */ -/* $Id: coop.c,v 1.34 2002-11-04 15:43:00 mvo Exp $ */ +/* $Id: coop.c,v 1.35 2003-03-25 23:54:01 rlb Exp $ */ /* Cooperative thread library, based on QuickThreads */ +#if HAVE_CONFIG_H +# include +#endif + #include #ifdef HAVE_UNISTD_H @@ -390,7 +394,7 @@ coop_condition_variable_wait_mutex (coop_c *c, coop_m *m) int coop_condition_variable_timed_wait_mutex (coop_c *c, coop_m *m, - const struct timespec *abstime) + const scm_t_timespec *abstime) { coop_t *old, *t; #ifdef ETIMEDOUT