summaryrefslogtreecommitdiffstats
path: root/crypto/bio
diff options
context:
space:
mode:
authorKurt Roeckx <kurt@roeckx.be>2014-12-30 17:14:49 +0100
committerKurt Roeckx <kurt@roeckx.be>2014-12-31 11:13:48 +0100
commit97d5809c2b70fdd240990b940c564bcbd77a19c6 (patch)
tree4fe0158c2d33d3a299b51328b4dc54a08f0c30ff /crypto/bio
parent1d97c8435171a7af575f73c526d79e1ef0ee5960 (diff)
Add missing include of sys/time.h
gettimeofday was undefined Reviewed-by: Geoff Thorpe <geoff@openssl.org>
Diffstat (limited to 'crypto/bio')
-rw-r--r--crypto/bio/bss_dgram.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/bio/bss_dgram.c b/crypto/bio/bss_dgram.c
index 88ee559d98..d45dd954af 100644
--- 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