svn commit: r252955 - stable/9/sys/netinet

Michael Tuexen tuexen at FreeBSD.org
Sun Jul 7 15:50:01 UTC 2013


Author: tuexen
Date: Sun Jul  7 15:50:01 2013
New Revision: 252955
URL: http://svnweb.freebsd.org/changeset/base/252955

Log:
  MFC r244033:
  Get it compiling without INET and INET6 support (mainly userland stack).

Modified:
  stable/9/sys/netinet/sctp_output.c
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/netinet/sctp_output.c
==============================================================================
--- stable/9/sys/netinet/sctp_output.c	Sun Jul  7 15:47:44 2013	(r252954)
+++ stable/9/sys/netinet/sctp_output.c	Sun Jul  7 15:50:01 2013	(r252955)
@@ -4599,7 +4599,11 @@ sctp_send_initiate(struct sctp_inpcb *in
 	struct mbuf *m;
 	struct sctp_nets *net;
 	struct sctp_init_chunk *init;
+
+#if defined(INET) || defined(INET6)
 	struct sctp_supported_addr_param *sup_addr;
+
+#endif
 	struct sctp_adaptation_layer_indication *ali;
 	struct sctp_supported_chunk_types_param *pr_supported;
 	struct sctp_paramhdr *ph;


More information about the svn-src-all mailing list