diff options
author | Pauli <paul.dale@oracle.com> | 2017-09-01 00:50:03 +0200 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2017-09-01 01:55:43 +0200 |
commit | 4cff10dcbfbd979d1557cc8b7e3fa2f19525deb0 (patch) | |
tree | 550e4d3cf715378bb9b609caede0a1091a816cda /e_os.h | |
parent | Address feedback (diff) | |
download | openssl-4cff10dcbfbd979d1557cc8b7e3fa2f19525deb0.tar.xz openssl-4cff10dcbfbd979d1557cc8b7e3fa2f19525deb0.zip |
struct timeval include guards
Move struct timeval includes into e_os.h (where the Windows ones were).
Enaure that the include is guarded canonically.
Refer #4271
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4312)
Diffstat (limited to 'e_os.h')
-rw-r--r-- | e_os.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -234,6 +234,12 @@ extern FILE *_imp___iob; # else /* The non-microsoft world */ +# if defined(OPENSSL_SYS_VXWORKS) +# include <sys/times.h> +# else +# include <sys/time.h> +# endif + # ifdef OPENSSL_SYS_VMS # define VMS 1 /* |