VMS support.

Submitted by: Richard Levitte <richard@levitte.org>
diff --git a/ssl/ssl_cert.c b/ssl/ssl_cert.c
index 9bfa3ec..3e5eba7 100644
--- a/ssl/ssl_cert.c
+++ b/ssl/ssl_cert.c
@@ -107,8 +107,10 @@
 #include <stdio.h>
 #include <sys/types.h>
 #ifndef WIN32
+#ifndef VMS
 #include <dirent.h>
 #endif
+#endif
 #include <openssl/objects.h>
 #include <openssl/bio.h>
 #include <openssl/pem.h>
@@ -640,6 +642,7 @@
  */
 
 #ifndef WIN32
+#ifndef VMS			/* XXXX This may be fixed in the future */
 
 int SSL_add_dir_cert_subjects_to_stack(STACK_OF(X509_NAME) *stack,
 				       const char *dir)
@@ -673,3 +676,4 @@
     }
 
 #endif
+#endif