From 6e87cc8da6f185b2d9f2aa4190e8b6cd4aa48024 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Thu, 28 May 2009 20:53:16 +0000 Subject: [PATCH] Need definition of struct timeval for dtls1.h which broke WIN32 builds, so include winsock.h. (might be a cleaner way to do this...) --- ssl/dtls1.h | 4 ++++ 1 file changed, 4 insertions(+) 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" { -- 2.34.1