mirror of
https://git.proxmox.com/git/libgit2
synced 2025-07-05 18:32:58 +00:00
fix tests on FreeBSD
238b761
introduced a test for posix behaviour, but on FreeBSD some
of the structs and constants used aren't defined in <arpa/inet.h>.
Include the appropriate headers to get the tests working again on
FreeBSD.
This commit is contained in:
parent
6890e00c0e
commit
9d85f00722
@ -1,5 +1,7 @@
|
||||
#ifndef _WIN32
|
||||
# include <arpa/inet.h>
|
||||
# include <sys/socket.h>
|
||||
# include <netinet/in.h>
|
||||
#else
|
||||
# include <ws2tcpip.h>
|
||||
# ifdef _MSC_VER
|
||||
|
Loading…
Reference in New Issue
Block a user