summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortuexen <tuexen@FreeBSD.org>2012-12-08 15:11:09 +0000
committertuexen <tuexen@FreeBSD.org>2012-12-08 15:11:09 +0000
commit9194fa58873d334119293006b535fddce62b2ab7 (patch)
treec98e7a566ec60486a9c8317806d3f298ee436e69
parent9d9aaa0e320ae2b81b655c75bbd46ed7236ed072 (diff)
downloadFreeBSD-src-9194fa58873d334119293006b535fddce62b2ab7.zip
FreeBSD-src-9194fa58873d334119293006b535fddce62b2ab7.tar.gz
Get it compiling without INET and INET6 support (mainly userland stack).
MFC after: 2 weeks
-rw-r--r--sys/netinet/sctp_output.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/netinet/sctp_output.c b/sys/netinet/sctp_output.c
index 14de14a..5ec6228 100644
--- a/sys/netinet/sctp_output.c
+++ b/sys/netinet/sctp_output.c
@@ -4599,7 +4599,11 @@ sctp_send_initiate(struct sctp_inpcb *inp, struct sctp_tcb *stcb, int so_locked
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;
OpenPOWER on IntegriCloud