Include proper header files for time functions.

Submitted by Arpadffy Zoltan <Zoltan.Arpadffy@scientificgames.se>
This commit is contained in:
Richard Levitte 2009-08-25 07:10:09 +00:00
parent 209abea1db
commit 3798c36686
2 changed files with 5 additions and 1 deletions

View 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

View File

@ -62,6 +62,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>