diff options
author | Pauli <paul.dale@oracle.com> | 2017-09-01 08:50:03 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2017-09-01 09:55:43 +1000 |
commit | 4cff10dcbfbd979d1557cc8b7e3fa2f19525deb0 (patch) | |
tree | 550e4d3cf715378bb9b609caede0a1091a816cda /crypto/ts | |
parent | 75551e07bd2339dfea06ef1d31d69929e13a4495 (diff) |
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 'crypto/ts')
-rw-r--r-- | crypto/ts/ts_rsp_sign.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/crypto/ts/ts_rsp_sign.c b/crypto/ts/ts_rsp_sign.c index 76011ada59..6569956285 100644 --- a/crypto/ts/ts_rsp_sign.c +++ b/crypto/ts/ts_rsp_sign.c @@ -1,5 +1,5 @@ /* - * Copyright 2006-2016 The OpenSSL Project Authors. All Rights Reserved. + * Copyright 2006-2017 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the OpenSSL license (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy @@ -7,12 +7,9 @@ * https://www.openssl.org/source/license.html */ +#include "e_os.h" #include "internal/cryptlib.h" -#if defined(OPENSSL_SYS_UNIX) -# include <sys/time.h> -#endif - #include <openssl/objects.h> #include <openssl/ts.h> #include <openssl/pkcs7.h> |