aboutsummaryrefslogtreecommitdiffstats
path: root/cipher
diff options
context:
space:
mode:
Diffstat (limited to 'cipher')
-rw-r--r--cipher/ChangeLog5
-rw-r--r--cipher/random.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/cipher/ChangeLog b/cipher/ChangeLog
index 94849a647..d504a16f8 100644
--- a/cipher/ChangeLog
+++ b/cipher/ChangeLog
@@ -1,3 +1,8 @@
+2006-11-03 Werner Koch <[email protected]>
+
+ * random.c [HAVE_GETTIMEOFDAY]: Included sys/time.h and not
+ sys/times.h. Reported by Rafaël Carré.
+
2006-06-28 David Shaw <[email protected]>
* rsa.c (generate): Use e=65537 for new RSA keys.
diff --git a/cipher/random.c b/cipher/random.c
index 3c25a2b22..6bc8e5671 100644
--- a/cipher/random.c
+++ b/cipher/random.c
@@ -46,7 +46,7 @@
#include <sys/times.h>
#endif
#ifdef HAVE_GETTIMEOFDAY
-#include <sys/times.h>
+#include <sys/time.h>
#endif
#ifdef HAVE_TIMES
#include <sys/times.h>