Permalink
Browse files

Get it compiling without INET and INET6 support (mainly userland stack).

MFC after: 2 weeks
  • Loading branch information...
1 parent 06973ae commit 789ec6dfb2b813c2af96b263915b583ad7d92f42 tuexen committed Dec 8, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 sys/netinet/sctp_output.c
View
4 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;

0 comments on commit 789ec6d

Please sign in to comment.