From 9e9aee670591c54379005dbac322d7310e9ea4cf Mon Sep 17 00:00:00 2001 From: Fraser Tweedale Date: Mon, 26 Nov 2012 23:29:34 +1000 Subject: fix build on FreeBSD 3f9eb1e introduced support for SSL certificates issued for IP addresses, making use of in_addr and in_addr6 structs. On FreeBSD these are defined in (a file included in) , so include that file on FreeBSD and get the build working again. --- src/netops.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/netops.c') diff --git a/src/netops.c b/src/netops.c index 422ea63f1..ccf03bebd 100644 --- a/src/netops.c +++ b/src/netops.c @@ -18,6 +18,10 @@ # endif #endif +#ifdef __FreeBSD__ +# include +#endif + #ifdef GIT_SSL # include # include -- cgit v1.2.1