aboutsummaryrefslogtreecommitdiffstats
path: root/cipher
diff options
context:
space:
mode:
Diffstat (limited to 'cipher')
-rw-r--r--cipher/ChangeLog4
-rw-r--r--cipher/random.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/cipher/ChangeLog b/cipher/ChangeLog
index 4cd2a0490..04df09871 100644
--- a/cipher/ChangeLog
+++ b/cipher/ChangeLog
@@ -1,3 +1,7 @@
+Tue Mar 28 14:26:58 CEST 2000 Werner Koch <[email protected]>
+
+ * random.c [MINGW32]: Include process.h for getpid.
+
Thu Mar 2 15:37:46 CET 2000 Werner Koch <[email protected]>
* random.c (fast_random_poll): Add clock_gettime() as fallback for
diff --git a/cipher/random.c b/cipher/random.c
index f047f6829..4c32c6467 100644
--- a/cipher/random.c
+++ b/cipher/random.c
@@ -49,6 +49,9 @@
#ifdef HAVE_GETRUSAGE
#include <sys/resource.h>
#endif
+#ifdef __MINGW32__
+ #include <process.h>
+#endif
#include "util.h"
#include "rmd.h"
#include "ttyio.h"