packets: Define IPPROTO_SCTP if not provided by <netinet/in.h>.
authorBen Pfaff <blp@nicira.com>
Tue, 22 May 2012 04:34:46 +0000 (21:34 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 13 Jun 2012 04:19:13 +0000 (21:19 -0700)
commit6c99379ed477e95e3f2fc1ff22149074ba39efc5
tree8b9f2bc55bb8a8a488dd55facbeb6e7d6db13a50
parenteec25dc1ae3ed49ad5e2eda0ca04450c4f75d6f7
packets: Define IPPROTO_SCTP if not provided by <netinet/in.h>.

SUSv3 doesn't require IPPROTO_SCTP so some systems might not provide it.

IPPROTO_SCTP isn't used in the tree yet so this doesn't fix a real bug.

Reviewed-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/packets.h