Taken from OpenSSL_1_0_0-stable:
authorRichard Levitte <levitte@openssl.org>
Mon, 22 Nov 2010 18:25:04 +0000 (18:25 +0000)
committerRichard Levitte <levitte@openssl.org>
Mon, 22 Nov 2010 18:25:04 +0000 (18:25 +0000)
Include proper header files for time functions.
Submitted by Arpadffy Zoltan <Zoltan.Arpadffy@scientificgames.se>

ssl/d1_lib.c
ssl/dtls1.h

index c2867c9..96b220e 100644 (file)
@@ -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
 
index 448c254..f85acf5 100644 (file)
 
 #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>