diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2009-05-28 20:53:16 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2009-05-28 20:53:16 +0000 |
commit | 6e87cc8da6f185b2d9f2aa4190e8b6cd4aa48024 (patch) | |
tree | b2ba3cc23ad63802eb20444615bd4b27b365c837 /ssl | |
parent | 2d0b6c72b8b8a9d9d745d1695475c36ab1322933 (diff) |
Need definition of struct timeval for dtls1.h which broke WIN32 builds,
so include winsock.h. (might be a cleaner way to do this...)
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/dtls1.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 <openssl/buffer.h> #include <openssl/pqueue.h> +#ifdef OPENSSL_SYS_WIN32 +/* Needed for struct timeval */ +#include <winsock.h> +#endif #ifdef __cplusplus extern "C" { |