diff options
author | Richard Levitte <levitte@openssl.org> | 2010-11-22 18:25:04 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2010-11-22 18:25:04 +0000 |
commit | ec44f0ebfaaf86fa391577fda075df633326f7bc (patch) | |
tree | cfc4b638d1697fb81271cd709a69af849bc29a04 | |
parent | 63779538167edee9f81f68046206ee7d38a95aaf (diff) |
Taken from OpenSSL_1_0_0-stable:
Include proper header files for time functions.
Submitted by Arpadffy Zoltan <Zoltan.Arpadffy@scientificgames.se>
-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> |