Commit 900e5d3b by Carlos Martín Nieto

Merge pull request #3154 from tkelman/win-openssl-v0.22

Fix MinGW build against openssl on maint/v0.22
parents 3b9d0717 9108d13d
...@@ -8,9 +8,6 @@ ...@@ -8,9 +8,6 @@
#ifdef GIT_SSL #ifdef GIT_SSL
#include <ctype.h> #include <ctype.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include "global.h" #include "global.h"
#include "posix.h" #include "posix.h"
...@@ -19,6 +16,12 @@ ...@@ -19,6 +16,12 @@
#include "netops.h" #include "netops.h"
#include "git2/transport.h" #include "git2/transport.h"
#ifndef GIT_WIN32
# include <sys/types.h>
# include <sys/socket.h>
# include <netinet/in.h>
#endif
#include <openssl/ssl.h> #include <openssl/ssl.h>
#include <openssl/err.h> #include <openssl/err.h>
#include <openssl/x509v3.h> #include <openssl/x509v3.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment