diff options
author | Raphael Kubo da Costa <rakuco@FreeBSD.org> | 2015-01-24 16:19:43 +0200 |
---|---|---|
committer | Raphael Kubo da Costa <rakuco@FreeBSD.org> | 2015-01-24 16:19:43 +0200 |
commit | 3cda6be76b3c7615d1ff7180825bf5f7b1124268 (patch) | |
tree | 3d82d93a85ed8690d677acf5fdb63fc32aaae9b2 /tests/diff/binary.c | |
parent | 73c5db7663b16f8aee2176ae8a5a4ed5127d5c35 (diff) | |
download | libgit2-3cda6be76b3c7615d1ff7180825bf5f7b1124268.tar.gz |
openssl: Add all required includes for AF_INET6 and in6_addr.
This fixes the build at least on FreeBSD, where those types were not
defined indirectly:
src/openssl_stream.c:100:18: error: variable has incomplete type 'struct in6_addr'
struct in6_addr addr6;
^
src/openssl_stream.c:100:9: note: forward declaration of 'struct in6_addr'
struct in6_addr addr6;
^
src/openssl_stream.c:111:18: error: use of undeclared identifier 'AF_INET'
if (p_inet_pton(AF_INET, host, &addr4)) {
^
src/unix/posix.h:31:40: note: expanded from macro 'p_inet_pton'
^
src/openssl_stream.c:115:18: error: use of undeclared identifier 'AF_INET6'
if(p_inet_pton(AF_INET6, host, &addr6)) {
^
src/unix/posix.h:31:40: note: expanded from macro 'p_inet_pton'
^
Diffstat (limited to 'tests/diff/binary.c')
0 files changed, 0 insertions, 0 deletions