Commit a944c6cc by Aki Koskinen

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

This mainly concerns mingw build.
parent c23002c5
......@@ -12,9 +12,6 @@
#include <openssl/x509v3.h>
#include <ctype.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include "global.h"
#include "posix.h"
......@@ -23,6 +20,12 @@
#include "netops.h"
#include "git2/transport.h"
#ifndef GIT_WIN32
# include <sys/types.h>
# include <sys/socket.h>
# include <netinet/in.h>
#endif
static int ssl_set_error(SSL *ssl, int error)
{
int err;
......
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