summaryrefslogtreecommitdiffstats
path: root/sys/netinet
diff options
context:
space:
mode:
authortuexen <tuexen@FreeBSD.org>2013-07-19 21:16:59 +0000
committertuexen <tuexen@FreeBSD.org>2013-07-19 21:16:59 +0000
commit9f5ff4a4a0217eb6b74d258a31ac9e0495d1fea9 (patch)
tree0c83e6179ec249df7773e10045924c2112e6bbf1 /sys/netinet
parentd67e7a1cc9054fbcf546edfe5ebc03bb5e29d4ca (diff)
downloadFreeBSD-src-9f5ff4a4a0217eb6b74d258a31ac9e0495d1fea9.zip
FreeBSD-src-9f5ff4a4a0217eb6b74d258a31ac9e0495d1fea9.tar.gz
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
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/sctp_output.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/netinet/sctp_output.c b/sys/netinet/sctp_output.c
index 59c22c7..e07bb05 100644
--- a/sys/netinet/sctp_output.c
+++ b/sys/netinet/sctp_output.c
@@ -4543,11 +4543,7 @@ 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