mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 10:02:07 -04: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:
parent
125a916d1a
commit
86b8c48576
2 changed files with 6 additions and 1 deletions
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
|
||||
lib/isc/print.c. Also allow lib/isc/print.c to
|
||||
be compiled even if the platform does not need it.
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue