]> granicus.if.org Git - openssl/commitdiff
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 c2867c92a2f5f72fc584c105ca83ad0236c54f94..96b220e87ce0f52a21f60f1486c0dae6f7e33c7c 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 448c254be3a23beb4000fbe095467fc2a00daca0..f85acf59d444d5b59f3b5fdcc99ab3d9fec5a91c 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>