diff options
author | tuexen <tuexen@FreeBSD.org> | 2012-07-15 20:16:17 +0000 |
---|---|---|
committer | tuexen <tuexen@FreeBSD.org> | 2012-07-15 20:16:17 +0000 |
commit | 2357a49326f12023cbed9f16a7a74841c1e49b97 (patch) | |
tree | 704579fd52fa04b1498bc8e9ec304a7c1d8993e4 /sys/netinet6 | |
parent | 620ea86f1a48a10983336a5a2cd9f90d439f2a9d (diff) | |
download | FreeBSD-src-2357a49326f12023cbed9f16a7a74841c1e49b97.zip FreeBSD-src-2357a49326f12023cbed9f16a7a74841c1e49b97.tar.gz |
Changes which improve compilation if neither INET nor INET6 is defined.
MFC after: 3 days
Diffstat (limited to 'sys/netinet6')
-rw-r--r-- | sys/netinet6/sctp6_usrreq.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/netinet6/sctp6_usrreq.c b/sys/netinet6/sctp6_usrreq.c index 6596856..58fe3a3 100644 --- a/sys/netinet6/sctp6_usrreq.c +++ b/sys/netinet6/sctp6_usrreq.c @@ -34,6 +34,7 @@ __FBSDID("$FreeBSD$"); #include <netinet/sctp_os.h> +#ifdef INET6 #include <sys/proc.h> #include <netinet/sctp_pcb.h> #include <netinet/sctp_header.h> @@ -1240,3 +1241,5 @@ struct pr_usrreqs sctp6_usrreqs = { .pru_sosend = sctp_sosend, .pru_soreceive = sctp_soreceive }; + +#endif |