summaryrefslogtreecommitdiffstats
path: root/crypto/des/des.c
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>1999-05-13 11:37:32 +0000
committerUlf Möller <ulf@openssl.org>1999-05-13 11:37:32 +0000
commit7d7d2cbcb02206f3393681f2bce198e11e2e185b (patch)
tree93410fafc5aa977c748ea492994da3f581d11278 /crypto/des/des.c
parent8d111f4a476896a417069d16597ce3009f9bb992 (diff)
VMS support.
Submitted by: Richard Levitte <richard@levitte.org>
Diffstat (limited to 'crypto/des/des.c')
-rw-r--r--crypto/des/des.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/crypto/des/des.c b/crypto/des/des.c
index 3aa34f4598..02c4828c5c 100644
--- a/crypto/des/des.c
+++ b/crypto/des/des.c
@@ -59,7 +59,19 @@
#include <stdio.h>
#include <stdlib.h>
#ifndef MSDOS
+#ifndef VMS
#include <unistd.h>
+#else /* VMS */
+#ifdef __DECC
+#include <unistd.h>
+#if __CRTL_VER < 70000000
+#define RAND
+#endif
+#else /* not __DECC */
+#include <math.h>
+#define RAND
+#endif /* __DECC */
+#endif /* VMS */
#else
#include <io.h>
#define RAND