Commit 9108d13d by Aki Koskinen Committed by Tony Kelman

Don't include headers on windows that aren't available

This mainly concerns mingw build.
parent fb6df50b
...@@ -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