Add missing include of sys/time.h
authorKurt Roeckx <kurt@roeckx.be>
Tue, 30 Dec 2014 16:14:49 +0000 (17:14 +0100)
committerKurt 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

index 88ee559..d45dd95 100644 (file)
@@ -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