summaryrefslogtreecommitdiffstats
path: root/sys/netinet/sctputil.c
diff options
context:
space:
mode:
authorrrs <rrs@FreeBSD.org>2009-02-09 11:41:54 +0000
committerrrs <rrs@FreeBSD.org>2009-02-09 11:41:54 +0000
commitb2d67dbfe66f71030bf004cd9c4d3dac4d5796b2 (patch)
treed806631a4ab698b34eb1d6d349c1a360ed894ed8 /sys/netinet/sctputil.c
parentaeba79ddd191e559d045bf9f947d2af4d806cf43 (diff)
downloadFreeBSD-src-b2d67dbfe66f71030bf004cd9c4d3dac4d5796b2.zip
FreeBSD-src-b2d67dbfe66f71030bf004cd9c4d3dac4d5796b2.tar.gz
Fix INET only build breakage with SCTP - pointy hat to me :-)
Diffstat (limited to 'sys/netinet/sctputil.c')
-rw-r--r--sys/netinet/sctputil.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netinet/sctputil.c b/sys/netinet/sctputil.c
index ac13717..615d8fa 100644
--- a/sys/netinet/sctputil.c
+++ b/sys/netinet/sctputil.c
@@ -6550,7 +6550,9 @@ sctp_log_trace(uint32_t subsys, const char *str SCTP_UNUSED, uint32_t a, uint32_
#include <netinet/udp.h>
#include <netinet/udp_var.h>
#include <sys/proc.h>
+#ifdef INET6
#include <netinet6/sctp6_var.h>
+#endif
static void
sctp_recv_udp_tunneled_packet(struct mbuf *m, int off, struct inpcb *ignored)
OpenPOWER on IntegriCloud