time.h explicitly to get a prototype for time() when
pthreads was not being used. [RT #592]
+ 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.
* 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>