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

so include winsock.h. (might be a cleaner way to do this...)
This commit is contained in:
Dr. Stephen Henson 2009-05-28 20:53:16 +00:00
parent 2d0b6c72b8
commit 6e87cc8da6

View file

@ -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" {