diff options
-rw-r--r-- | ssl/d1_lib.c | 2 | ||||
-rw-r--r-- | ssl/dtls1.h | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/ssl/d1_lib.c b/ssl/d1_lib.c index c2867c92a2..96b220e87c 100644 --- a/ssl/d1_lib.c +++ b/ssl/d1_lib.c @@ -62,7 +62,7 @@ #include <openssl/objects.h> #include "ssl_locl.h" -#ifdef OPENSSL_SYS_WIN32 +#if defined(OPENSSL_SYS_WIN32) || defined(OPENSSL_SYS_VMS) #include <sys/timeb.h> #endif diff --git a/ssl/dtls1.h b/ssl/dtls1.h index 448c254be3..f85acf59d4 100644 --- a/ssl/dtls1.h +++ b/ssl/dtls1.h @@ -68,6 +68,10 @@ #include <openssl/buffer.h> #include <openssl/pqueue.h> +#ifdef OPENSSL_SYS_VMS +#include <resource.h> +#include <sys/timeb.h> +#endif #ifdef OPENSSL_SYS_WIN32 /* Needed for struct timeval */ #include <winsock.h> |