Improve compilation for IPv6 only kernels. Based on a patch received from bz@.
Improve compilation for IPv6 only kernels.
Based on a patch received from bz@.

ossy-szeged/sctp-refimpl,ossy-szeged/sctp-refimpl,ossy-szeged/sctp-refimpl,ossy-szeged/sctp-refimpl,ossy-szeged/sctp-refimpl,ossy-szeged/sctp-refimpl,ossy-szeged/sctp-refimpl,ossy-szeged/sctp-refimpl,ossy-szeged/sctp-refimpl