summaryrefslogtreecommitdiff
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 2d99f21a..5018fd12 100644
--- a/cipher/random.c
+++ b/cipher/random.c
@@ -37,15 +37,13 @@
#include <sys/stat.h>
#include <unistd.h>
#include <fcntl.h>
+#include <time.h>
#ifdef HAVE_GETHRTIME
#include <sys/times.h>
#endif
#ifdef HAVE_GETTIMEOFDAY
#include <sys/times.h>
#endif
-#ifdef HAVE_CLOCK_GETTIME
- #include <time.h>
-#endif
#ifdef HAVE_GETRUSAGE
#include <sys/resource.h>
#endif