From f04db5631158b3856ea11f300d02a03c7e15ede4 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 6 Oct 1998 12:10:02 +0000 Subject: windoze version works again --- cipher/rand-unix.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cipher/rand-unix.c') diff --git a/cipher/rand-unix.c b/cipher/rand-unix.c index 855b23b8e..33f964d58 100644 --- a/cipher/rand-unix.c +++ b/cipher/rand-unix.c @@ -30,7 +30,7 @@ #ifdef HAVE_GETHRTIME #include #endif -#ifndef HAVE_GETTIMEOFTIME +#ifdef HAVE_GETTIMEOFDAY #include #endif #ifdef HAVE_GETRUSAGE @@ -65,7 +65,7 @@ fast_random_poll() tv = gethrtime(); add_randomness( &tv, sizeof(tv), 1 ); } - #elif HAVE_GETTIMEOFTIME + #elif HAVE_GETTIMEOFDAY { struct timeval tv; if( gettimeofday( &tv, NULL ) ) BUG(); -- cgit v1.2.3