From 86b8c485762daa54a96d033110f6f41ea96e5213 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Tue, 26 Dec 2000 21:02:14 +0000 Subject: [PATCH] 638. [port] lib/isc/random.c needed to explicitly include time.h explicitly to get a prototype for time() when pthreads was not being used. [RT #592] --- CHANGES | 4 ++++ lib/isc/random.c | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 8f23bd06da..b730e0110c 100644 --- a/CHANGES +++ b/CHANGES @@ -1,4 +1,8 @@ + 638. [port] lib/isc/random.c needed to explicitly include + time.h explicitly to get a prototype for time() when + pthreads was not being used. [RT #592] + 637. [port] Use isc_u?int64_t instead of (unsigned) long long in lib/isc/print.c. Also allow lib/isc/print.c to be compiled even if the platform does not need it. diff --git a/lib/isc/random.c b/lib/isc/random.c index 4434345c80..a84fb7b33e 100644 --- a/lib/isc/random.c +++ b/lib/isc/random.c @@ -15,11 +15,12 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: random.c,v 1.13 2000/09/26 17:23:17 gson Exp $ */ +/* $Id: random.c,v 1.14 2000/12/26 21:02:14 tale Exp $ */ #include #include +#include /* Required for time(). */ #include #include