Commit 6e87cc8d authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

Need definition of struct timeval for dtls1.h which broke WIN32 builds,

so include winsock.h. (might be a cleaner way to do this...)
parent 2d0b6c72
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -62,6 +62,10 @@

#include <openssl/buffer.h>
#include <openssl/pqueue.h>
#ifdef OPENSSL_SYS_WIN32
/* Needed for struct timeval */
#include <winsock.h>
#endif

#ifdef  __cplusplus
extern "C" {