diff --git a/include/openssl/ssl.h b/include/openssl/ssl.h index b374d1fe..6149d441 100644 --- a/include/openssl/ssl.h +++ b/include/openssl/ssl.h @@ -152,6 +152,10 @@ #include #include +#if !defined(OPENSSL_WINDOWS) +#include +#endif + /* Some code expected to get the threading functions by including ssl.h. */ #include @@ -368,7 +372,6 @@ typedef struct OPENSSL_timeval_st { long tv_usec; } OPENSSL_timeval; #else -#include typedef struct timeval OPENSSL_timeval; #endif