From ec44f0ebfaaf86fa391577fda075df633326f7bc Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Mon, 22 Nov 2010 18:25:04 +0000 Subject: [PATCH] Taken from OpenSSL_1_0_0-stable: Include proper header files for time functions. Submitted by Arpadffy Zoltan --- ssl/d1_lib.c | 2 +- ssl/dtls1.h | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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 #include "ssl_locl.h" -#ifdef OPENSSL_SYS_WIN32 +#if defined(OPENSSL_SYS_WIN32) || defined(OPENSSL_SYS_VMS) #include #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 #include +#ifdef OPENSSL_SYS_VMS +#include +#include +#endif #ifdef OPENSSL_SYS_WIN32 /* Needed for struct timeval */ #include -- 2.34.1