2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 14:07:59 +00:00

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]
This commit is contained in:
David Lawrence 2000-12-26 21:02:14 +00:00
parent 125a916d1a
commit 86b8c48576
2 changed files with 6 additions and 1 deletions

View File

@ -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.

View File

@ -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 <config.h>
#include <stdlib.h>
#include <time.h> /* Required for time(). */
#include <isc/mutex.h>
#include <isc/once.h>