projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d0b6c7
)
Need definition of struct timeval for dtls1.h which broke WIN32 builds,
author
Dr. Stephen Henson
<steve@openssl.org>
Thu, 28 May 2009 20:53:16 +0000
(20:53 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Thu, 28 May 2009 20:53:16 +0000
(20:53 +0000)
so include winsock.h. (might be a cleaner way to do this...)
ssl/dtls1.h
patch
|
blob
|
history
diff --git
a/ssl/dtls1.h
b/ssl/dtls1.h
index 884bbd34f1358974a2840408559438f0bf29caf1..a3d8da90165a2e9e0ab719acf4533ab988584ec4 100644
(file)
--- 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" {