Fix kernel build without INET6.
authorSascha Wildner <saw@online.de>
Mon, 11 Jan 2010 15:56:27 +0000 (16:56 +0100)
committerSascha Wildner <saw@online.de>
Mon, 11 Jan 2010 15:56:27 +0000 (16:56 +0100)
commit2183cbe4203baa9866bde803a95210404d75b6ac
treee077ce628593ea78e46a48dfaa02e9b6d68067ae
parent5d56fcbc0d6cf2ff3f0ce0305d95bd3ae16e2a5f
Fix kernel build without INET6.

With the addition of -Werror, some minor issues crept up.

The only issue left is that building with 'options SCTP' and without
'options INET6' is broken still (and was before -Werror), since our
SCTP code doesn't #ifdef out enough. But as our SCTP support is quite
old and has never been updated (and I don't plan to do so), I'll leave
it at that.

Reported-by: Johannes Hofmann <johannes.hofmann@gmx.de>
Dragonfly-bug: <http://bugs.dragonflybsd.org/issue1646>
sys/net/faith/if_faith.c
sys/netinet/ip_carp.c
sys/netinet/tcp_usrreq.c