net.h: Fic compilation on systems with partial DCCP support.
authorAndre Noll <maan@systemlinux.org>
Thu, 25 Feb 2010 16:33:54 +0000 (17:33 +0100)
committerAndre Noll <maan@systemlinux.org>
Thu, 25 Feb 2010 16:33:54 +0000 (17:33 +0100)
commit0916e561e0e9dde57a8cf2fd5a487d4ee30b2dc3
tree878348f32a6aea3e8fbff5a88a4c554b7219fb4c
parentc751c276e9c9b0f4d96b7fba45744d52fd2783be
net.h: Fic compilation on systems with partial DCCP support.

There exists at least one system that defines IPPROTO_DCCP but not
DCCP_SOCKOPT_CCID and friends. On such systems compilation fails due
to to undefined symbols.

Fix this problem by checking each value separately.
net.h