mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-09 20:29:27 +00:00
Don't include headers on windows that aren't available
This mainly concerns mingw build.
This commit is contained in:
parent
c23002c560
commit
a944c6cc40
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user