summaryrefslogtreecommitdiffstats
path: root/entropy.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-07-15 14:59:14 +1000
committerDamien Miller <djm@mindrot.org>2000-07-15 14:59:14 +1000
commitecbb26d3d4490968b5c86e82c286b3d75ad8091e (patch)
tree7fdcc0ecfa9c8662533cae898dfb2fe787f182e8 /entropy.c
parentbe484b5d9889ca636fecdf1f6b73ddfbe4cce3c9 (diff)
- 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)