From cca6f4a8f33296e7e6d1eb4550b3d34ea602069d Mon Sep 17 00:00:00 2001 From: Michael Tuexen Date: Sat, 8 Dec 2012 15:11:09 +0000 Subject: [PATCH] Get it compiling without INET and INET6 support (mainly userland stack). MFC after: 2 weeks --- sys/netinet/sctp_output.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/netinet/sctp_output.c b/sys/netinet/sctp_output.c index 14de14a629d..5ec6228e76f 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;