aboutsummaryrefslogtreecommitdiffstats
path: root/cipher/random.c
diff options
context:
space:
mode:
Diffstat (limited to 'cipher/random.c')
-rw-r--r--cipher/random.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/cipher/random.c b/cipher/random.c
index 02fc2ba3a..de4bcf6c1 100644
--- a/cipher/random.c
+++ b/cipher/random.c
@@ -32,6 +32,7 @@
#include <assert.h>
#include <errno.h>
#include <string.h>
+#include <time.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/stat.h>
@@ -43,9 +44,6 @@
#ifdef HAVE_GETTIMEOFDAY
#include <sys/times.h>
#endif
-#ifdef HAVE_CLOCK_GETTIME
- #include <time.h>
-#endif
#ifdef HAVE_GETRUSAGE
#include <sys/resource.h>
#endif