summaryrefslogtreecommitdiffstats
path: root/ssl/d1_lib.c
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2017-09-01 08:50:03 +1000
committerPauli <paul.dale@oracle.com>2017-09-01 09:55:43 +1000
commit4cff10dcbfbd979d1557cc8b7e3fa2f19525deb0 (patch)
tree550e4d3cf715378bb9b609caede0a1091a816cda /ssl/d1_lib.c
parent75551e07bd2339dfea06ef1d31d69929e13a4495 (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 'ssl/d1_lib.c')
-rw-r--r--ssl/d1_lib.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/ssl/d1_lib.c b/ssl/d1_lib.c
index 6c594a2686..d839e1ab72 100644
--- a/ssl/d1_lib.c
+++ b/ssl/d1_lib.c
@@ -13,12 +13,6 @@
#include <openssl/rand.h>
#include "ssl_locl.h"
-#if defined(OPENSSL_SYS_VXWORKS)
-# include <sys/times.h>
-#elif !defined(OPENSSL_SYS_WIN32)
-# include <sys/time.h>
-#endif
-
static void get_current_time(struct timeval *t);
static int dtls1_handshake_write(SSL *s);
static size_t dtls1_link_min_mtu(void);