From: Dr. Stephen Henson Date: Thu, 28 May 2009 20:53:16 +0000 (+0000) Subject: Need definition of struct timeval for dtls1.h which broke WIN32 builds, X-Git-Tag: OpenSSL_1_0_0-beta3~68 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6e87cc8da6f185b2d9f2aa4190e8b6cd4aa48024;p=oweals%2Fopenssl.git Need definition of struct timeval for dtls1.h which broke WIN32 builds, so include winsock.h. (might be a cleaner way to do this...) --- diff --git a/ssl/dtls1.h b/ssl/dtls1.h index 884bbd34f1..a3d8da9016 100644 --- a/ssl/dtls1.h +++ b/ssl/dtls1.h @@ -62,6 +62,10 @@ #include #include +#ifdef OPENSSL_SYS_WIN32 +/* Needed for struct timeval */ +#include +#endif #ifdef __cplusplus extern "C" {