mirror of
https://git.proxmox.com/git/libgit2
synced 2025-08-05 10:52:22 +00:00
Don't include arpa/inet.h on Windows
This commit is contained in:
parent
fdc5c38e40
commit
66798ad0d8
@ -10,6 +10,7 @@
|
|||||||
# include <sys/select.h>
|
# include <sys/select.h>
|
||||||
# include <sys/time.h>
|
# include <sys/time.h>
|
||||||
# include <netdb.h>
|
# include <netdb.h>
|
||||||
|
# include <arpa/inet.h>
|
||||||
#else
|
#else
|
||||||
# include <winsock2.h>
|
# include <winsock2.h>
|
||||||
# include <ws2tcpip.h>
|
# include <ws2tcpip.h>
|
||||||
@ -24,7 +25,6 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <arpa/inet.h>
|
|
||||||
#include "git2/errors.h"
|
#include "git2/errors.h"
|
||||||
|
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user