diff options
author | Michael Tuexen <tuexen@FreeBSD.org> | 2012-07-26 08:10:29 +0000 |
---|---|---|
committer | Michael Tuexen <tuexen@FreeBSD.org> | 2012-07-26 08:10:29 +0000 |
commit | 77db9ed99ec0242795a25df852fc9a0385a7f27c (patch) | |
tree | ee35e4409656844ebad2a1f9930d4b4a20f20360 /sys/netinet | |
parent | aaa1966f6b8968e8de68de26767e4296c7866ed9 (diff) | |
download | src-77db9ed99ec0242795a25df852fc9a0385a7f27c.tar.gz src-77db9ed99ec0242795a25df852fc9a0385a7f27c.zip |
Fix the sctp_sockstore union such that userland programs don't depend
on INET and/or INET6 to be defined and in-tune with how the kernel
was compiled.
MFC after: 3 days
Discussed with: rrs
Notes
Notes:
svn path=/head/; revision=238790
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/sctp_uio.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/netinet/sctp_uio.h b/sys/netinet/sctp_uio.h index ddb689b6078b..80b5e60a17e9 100644 --- a/sys/netinet/sctp_uio.h +++ b/sys/netinet/sctp_uio.h @@ -1124,12 +1124,8 @@ struct sctpstat { #define SCTP_STAT_DECR_GAUGE32(_x) SCTP_STAT_DECR(_x) union sctp_sockstore { -#if defined(INET) struct sockaddr_in sin; -#endif -#if defined(INET6) struct sockaddr_in6 sin6; -#endif struct sockaddr sa; }; |