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:
1d97c84
)
Add missing include of sys/time.h
author
Kurt Roeckx
<kurt@roeckx.be>
Tue, 30 Dec 2014 16:14:49 +0000
(17:14 +0100)
committer
Kurt Roeckx
<kurt@roeckx.be>
Wed, 31 Dec 2014 10:13:48 +0000
(11:13 +0100)
gettimeofday was undefined
Reviewed-by: Geoff Thorpe <geoff@openssl.org>
crypto/bio/bss_dgram.c
patch
|
blob
|
history
diff --git
a/crypto/bio/bss_dgram.c
b/crypto/bio/bss_dgram.c
index 88ee559d98979b83cb34dd70c4072036ba198e74..d45dd954af5155945c4f9e4aea8faf8a26a5a62c 100644
(file)
--- a/
crypto/bio/bss_dgram.c
+++ b/
crypto/bio/bss_dgram.c
@@
-66,6
+66,9
@@
#include <openssl/bio.h>
#ifndef OPENSSL_NO_DGRAM
+#if !(defined(_WIN32) || defined(OPENSSL_SYS_VMS))
+# include <sys/time.h>
+#endif
#if defined(OPENSSL_SYS_VMS)
#include <sys/timeb.h>
#endif