summaryrefslogtreecommitdiffstats
path: root/e_os.h
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-04-20 12:43:27 +0100
committerMatt Caswell <matt@openssl.org>2016-04-20 14:52:46 +0100
commit2469e76b30d64d9374e06523f3c8a7d669986523 (patch)
treecb45d3da2ec8b9716ff73838bf3a70954d78914b /e_os.h
parentd6e03b707796747442be86c56e88c653f91ac9ed (diff)
Include winsock2.h even if compiling no-sock
We need the struct timeval definition from winsock2.h even if we're not going to call any socket functions. Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'e_os.h')
-rw-r--r--e_os.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/e_os.h b/e_os.h
index f85b754b12..eaa9396b88 100644
--- a/e_os.h
+++ b/e_os.h
@@ -223,7 +223,7 @@ extern "C" {
*/
# define _WIN32_WINNT 0x0501
# endif
-# if !defined(OPENSSL_NO_SOCK) && (defined(_WIN32_WINNT) || defined(_WIN32_WCE))
+# if defined(_WIN32_WINNT) || defined(_WIN32_WCE)
/*
* Just like defining _WIN32_WINNT including winsock2.h implies
* certain "discipline" for maintaining [broad] binary compatibility.