diff options
author | Kurt Roeckx <kurt@roeckx.be> | 2014-12-30 17:14:49 +0100 |
---|---|---|
committer | Kurt Roeckx <kurt@roeckx.be> | 2014-12-31 11:13:48 +0100 |
commit | 97d5809c2b70fdd240990b940c564bcbd77a19c6 (patch) | |
tree | 4fe0158c2d33d3a299b51328b4dc54a08f0c30ff /crypto | |
parent | 1d97c8435171a7af575f73c526d79e1ef0ee5960 (diff) | |
download | openssl-97d5809c2b70fdd240990b940c564bcbd77a19c6.tar.gz |
Add missing include of sys/time.h
gettimeofday was undefined
Reviewed-by: Geoff Thorpe <geoff@openssl.org>
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/bio/bss_dgram.c | 3 |
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 |