Hmmm, the manual page for Linux (and other Unixen, I assume) says that including sys/time,h declares gettimeofday()... I find it a little drastic to make that inclusion OpenVMS-only, rather than making it only non-Win32...
In message <[email protected]> on Sun, 26 Apr 2009 16:53:58 +0200 (CEST), "Dr. Stephen Henson" <[email protected]> said: steve> OpenSSL CVS Repository steve> http://cvs.openssl.org/ steve> ____________________________________________________________________________ steve> steve> Server: cvs.openssl.org Name: Dr. Stephen Henson steve> Root: /v/openssl/cvs Email: [email protected] steve> Module: openssl Date: 26-Apr-2009 16:53:58 steve> Branch: OpenSSL_1_0_0-stable Handle: 2009042615535800 steve> steve> Modified files: (Branch: OpenSSL_1_0_0-stable) steve> openssl/crypto/bio bss_dgram.c steve> steve> Log: steve> This at least break WIN32 which doesn't have sys/time.h might need to make steve> this a bit more generous later... steve> steve> Summary: steve> Revision Changes Path steve> 1.7.2.4 +2 -0 openssl/crypto/bio/bss_dgram.c steve> ____________________________________________________________________________ steve> steve> patch -p0 <<'@@ .' steve> Index: openssl/crypto/bio/bss_dgram.c steve> ============================================================================ steve> $ cvs diff -u -r1.7.2.3 -r1.7.2.4 bss_dgram.c steve> --- openssl/crypto/bio/bss_dgram.c 26 Apr 2009 11:35:58 -0000 1.7.2.3 steve> +++ openssl/crypto/bio/bss_dgram.c 26 Apr 2009 14:53:58 -0000 1.7.2.4 steve> @@ -61,7 +61,9 @@ steve> steve> #include <stdio.h> steve> #include <errno.h> steve> +#ifdef OPENSSL_SYS_VMS steve> #include <sys/time.h> steve> +#endif steve> #define USE_SOCKETS steve> #include "cryptlib.h" steve> steve> @@ . steve> ______________________________________________________________________ steve> OpenSSL Project http://www.openssl.org steve> CVS Repository Commit List [email protected] steve> Automated List Manager [email protected] -- Richard Levitte [email protected] http://richard.levitte.org/ "Life is a tremendous celebration - and I'm invited!" -- from a friend's blog, translated from Swedish ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [email protected] Automated List Manager [email protected]
