Skip to content
Snippets Groups Projects
Commit 78df6404 authored by mingw-san's avatar mingw-san Committed by Nick Mathewson
Browse files

Fix compilation with mingw and OpenSSL 0.9.8m+

parent ff014eb5
No related branches found
No related tags found
No related merge requests found
o Minor features
- Build correctly on mingw with more recent version of OpenSSL 0.9.8.
Patch from mingw-san.
......@@ -17,6 +17,17 @@
#include "orconfig.h"
#include <assert.h>
#ifdef MS_WINDOWS /*wrkard for dtls1.h >= 0.9.8m of "#include <winsock.h>"*/
#define WIN32_WINNT 0x400
#define _WIN32_WINNT 0x400
#define WIN32_LEAN_AND_MEAN
#if defined(_MSC_VER) && (_MSC_VER < 1300)
#include <winsock.h>
#else
#include <winsock2.h>
#include <ws2tcpip.h>
#endif
#endif
#include <openssl/ssl.h>
#include <openssl/ssl3.h>
#include <openssl/err.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment