aboutsummaryrefslogtreecommitdiffstats
path: root/cipher/random.c
diff options
context:
space:
mode:
Diffstat (limited to 'cipher/random.c')
-rw-r--r--cipher/random.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cipher/random.c b/cipher/random.c
index eb4fdf793..5fa45ea86 100644
--- a/cipher/random.c
+++ b/cipher/random.c
@@ -360,10 +360,12 @@ fast_random_poll()
add_randomness( &tv.tv_usec, sizeof(tv.tv_usec), 1 );
}
#else /* use times */
+ #ifndef HAVE_DOSISH_SYSTEM
{ struct tms buf;
times( &buf );
add_randomness( &buf, sizeof buf, 1 );
}
+ #endif
#endif
#ifdef HAVE_GETRUSAGE
{ struct rusage buf;