summaryrefslogtreecommitdiff
path: root/entropy.c
diff options
context:
space:
mode:
authordjm <djm>2000-07-15 04:59:14 +0000
committerdjm <djm>2000-07-15 04:59:14 +0000
commit26d90c5b6e126d60738fc683386fed8c236c9076 (patch)
treed1c157cbdeb8bc34f56cb6c36eb0ad707bbb8802 /entropy.c
parent2ea96c683d5fc2a1e0637221f58c82f2727e093f (diff)
downloadopenssh-26d90c5b6e126d60738fc683386fed8c236c9076.tar.gz
- Fixes for SunOS 4.1.4 from Gordon Atwood <gordon@cs.ualberta.ca>
- Include floatingpoint.h for entropy.c - strerror replacement
Diffstat (limited to 'entropy.c')
-rw-r--r--entropy.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/entropy.c b/entropy.c
index 84276099..aa62650a 100644
--- a/entropy.c
+++ b/entropy.c
@@ -35,7 +35,12 @@
#include <openssl/rand.h>
#include <openssl/sha.h>
-RCSID("$Id: entropy.c,v 1.17 2000/07/09 12:42:33 djm Exp $");
+/* SunOS 4.4.4 needs this */
+#ifdef HAVE_FLOATINGPOINT_H
+# include <floatingpoint.h>
+#endif /* HAVE_FLOATINGPOINT_H */
+
+RCSID("$Id: entropy.c,v 1.18 2000/07/15 04:59:15 djm Exp $");
#ifndef offsetof
# define offsetof(type, member) ((size_t) &((type *)0)->member)