diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-09-04 10:55:15 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-09-04 14:52:35 -0400 |
commit | 7acb8c8d1835f919fee09585c966dee837f2e9f6 (patch) | |
tree | b56360b90992b3fbaf136dc0cfd0e97830a57673 /src/lib/tls/tortls_openssl.c | |
parent | 70c27b7e39b9437bf18c0342b15a5c6a3022e204 (diff) | |
download | tor-7acb8c8d1835f919fee09585c966dee837f2e9f6.tar.gz tor-7acb8c8d1835f919fee09585c966dee837f2e9f6.zip |
Document winsock includes better
Diffstat (limited to 'src/lib/tls/tortls_openssl.c')
-rw-r--r-- | src/lib/tls/tortls_openssl.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/tls/tortls_openssl.c b/src/lib/tls/tortls_openssl.c index d10e50a975..6ff03ee818 100644 --- a/src/lib/tls/tortls_openssl.c +++ b/src/lib/tls/tortls_openssl.c @@ -20,7 +20,9 @@ #define TORTLS_OPENSSL_PRIVATE #define TOR_X509_PRIVATE -#ifdef _WIN32 /*wrkard for dtls1.h >= 0.9.8m of "#include <winsock.h>"*/ +#ifdef _WIN32 + /* We need to include these here, or else the dtls1.h header will include + * <winsock.h> and mess things up, in at least some openssl versions. */ #include <winsock2.h> #include <ws2tcpip.h> #endif |