diff options
-rw-r--r-- | include/openssl/dtls1.h | 19 | ||||
-rw-r--r-- | ssl/d1_lib.c | 6 | ||||
-rw-r--r-- | ssl/record/record.h | 2 |
3 files changed, 8 insertions, 19 deletions
diff --git a/include/openssl/dtls1.h b/include/openssl/dtls1.h index 542ae04627..f214296d4b 100644 --- a/include/openssl/dtls1.h +++ b/include/openssl/dtls1.h @@ -60,25 +60,6 @@ #ifndef HEADER_DTLS1_H # define HEADER_DTLS1_H -# 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> -# elif defined(OPENSSL_SYS_NETWARE) && !defined(_WINSOCK2API_) -# include <sys/timeval.h> -# else -# if defined(OPENSSL_SYS_VXWORKS) -# include <sys/times.h> -# else -# include <sys/time.h> -# endif -# endif - #ifdef __cplusplus extern "C" { #endif diff --git a/ssl/d1_lib.c b/ssl/d1_lib.c index a1d203223c..6946b32dea 100644 --- a/ssl/d1_lib.c +++ b/ssl/d1_lib.c @@ -64,6 +64,12 @@ #if defined(OPENSSL_SYS_VMS) # include <sys/timeb.h> +#elif defined(OPENSSL_SYS_NETWARE) && !defined(_WINSOCK2API_) +# include <sys/timeval.h> +#elif defined(OPENSSL_SYS_VXWORKS) +# include <sys/times.h> +#elif !defined(OPENSSL_SYS_WIN32) +# include <sys/time.h> #endif static void get_current_time(struct timeval *t); diff --git a/ssl/record/record.h b/ssl/record/record.h index 29c74d7cb9..6bccb71d83 100644 --- a/ssl/record/record.h +++ b/ssl/record/record.h @@ -109,6 +109,8 @@ * */ +#include <openssl/pqueue.h> + /***************************************************************************** * * * These structures should be considered PRIVATE to the record layer. No * |