summaryrefslogtreecommitdiffstats
path: root/crypto/bio/bss_dgram.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 /crypto/bio/bss_dgram.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 'crypto/bio/bss_dgram.c')
-rw-r--r--crypto/bio/bss_dgram.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/crypto/bio/bss_dgram.c b/crypto/bio/bss_dgram.c
index 4070f205bf..f886b07333 100644
--- a/crypto/bio/bss_dgram.c
+++ b/crypto/bio/bss_dgram.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2005-2016 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2005-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
@@ -13,10 +13,6 @@
#include "bio_lcl.h"
#ifndef OPENSSL_NO_DGRAM
-# if !defined(_WIN32)
-# include <sys/time.h>
-# endif
-
# ifndef OPENSSL_NO_SCTP
# include <netinet/sctp.h>
# include <fcntl.h>