Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jul 2013 21:17:00 +0000 (UTC)
From:      Michael Tuexen <tuexen@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r253472 - head/sys/netinet
Message-ID:  <201307192117.r6JLH0qN053620@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307192117.r6JLH0qN053620>