svn commit: r253472 - head/sys/netinet

Michael Tuexen tuexen at FreeBSD.org
Fri Jul 19 21:17:00 UTC 2013


Author: tuexen
Date: Fri Jul 19 21:16:59 2013
New Revision: 253472
URL: http://svnweb.freebsd.org/changeset/base/253472

Log:
  Get the code compiling without INET and INET6 being defined.
  This is not possible in FreeBSD, but in the upstream code.
  
  MFC after: 2 weeks

Modified:
  head/sys/netinet/sctp_output.c

Modified: head/sys/netinet/sctp_output.c
==============================================================================
--- head/sys/netinet/sctp_output.c	Fri Jul 19 19:06:15 2013	(r253471)
+++ head/sys/netinet/sctp_output.c	Fri Jul 19 21:16:59 2013	(r253472)
@@ -4543,11 +4543,7 @@ 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-head mailing list