mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 22:15:20 +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:
4
CHANGES
4
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
|
637. [port] Use isc_u?int64_t instead of (unsigned) long long in
|
||||||
lib/isc/print.c. Also allow lib/isc/print.c to
|
lib/isc/print.c. Also allow lib/isc/print.c to
|
||||||
be compiled even if the platform does not need it.
|
be compiled even if the platform does not need it.
|
||||||
|
@@ -15,11 +15,12 @@
|
|||||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
* 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 <config.h>
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <time.h> /* Required for time(). */
|
||||||
|
|
||||||
#include <isc/mutex.h>
|
#include <isc/mutex.h>
|
||||||
#include <isc/once.h>
|
#include <isc/once.h>
|
||||||
|
Reference in New Issue
Block a user