]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
638. [port] lib/isc/random.c needed to explicitly include
authorDavid Lawrence <source@isc.org>
Tue, 26 Dec 2000 21:02:14 +0000 (21:02 +0000)
committerDavid Lawrence <source@isc.org>
Tue, 26 Dec 2000 21:02:14 +0000 (21:02 +0000)
time.h explicitly to get a prototype for time() when
pthreads was not being used. [RT #592]

CHANGES
lib/isc/random.c

diff --git a/CHANGES b/CHANGES
index 8f23bd06da01bba5936219a0ff69a074f2c016d3..b730e0110cc92186ecef71245f212489c9a82396 100644 (file)
--- 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.
index 4434345c80255a4082e48eeb6e556ec07a468f6c..a84fb7b33e5fc6fcb8edc5dd9e9ad97a4d0a75e3 100644 (file)
  * 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 <config.h>
 
 #include <stdlib.h>
+#include <time.h>              /* Required for time(). */
 
 #include <isc/mutex.h>
 #include <isc/once.h>