Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
David Goulet
Tor
Commits
7acb8c8d
Commit
7acb8c8d
authored
Sep 04, 2018
by
Nick Mathewson
🐕
Browse files
Document winsock includes better
parent
70c27b7e
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/lib/tls/tortls_nss.c
View file @
7acb8c8d
...
...
@@ -14,7 +14,7 @@
#define TORTLS_PRIVATE
#define TOR_X509_PRIVATE
#ifdef _WIN32
/*wrkard for dtls1.h >= 0.9.8m of "#include <winsock.h>"*/
#ifdef _WIN32
#include <winsock2.h>
#include <ws2tcpip.h>
#endif
...
...
src/lib/tls/tortls_openssl.c
View file @
7acb8c8d
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment