diff options
author | tuexen <tuexen@FreeBSD.org> | 2012-05-25 11:14:08 +0000 |
---|---|---|
committer | tuexen <tuexen@FreeBSD.org> | 2012-05-25 11:14:08 +0000 |
commit | 32e81f09e7d85075aafbd395395f674e73a533dd (patch) | |
tree | 0aaf115a28918a2a433b376679718b5e87fa566a | |
parent | e85afbafb3b2adb998507529a3a3d1ac6782ba18 (diff) | |
download | FreeBSD-src-32e81f09e7d85075aafbd395395f674e73a533dd.zip FreeBSD-src-32e81f09e7d85075aafbd395395f674e73a533dd.tar.gz |
Undefine SCTP_PACKED before including sctp_uio.h, which doesn't
use it. Spotted by Irene Ruengeler.
MFC after: 3 days
-rw-r--r-- | sys/netinet/sctp.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/netinet/sctp.h b/sys/netinet/sctp.h index 21fcba6..669b02a 100644 --- a/sys/netinet/sctp.h +++ b/sys/netinet/sctp.h @@ -556,6 +556,8 @@ struct sctp_error_unrecognized_chunk { #define SCTP_SMALLEST_PMTU 512 /* smallest pmtu allowed when disabling PMTU * discovery */ +#undef SCTP_PACKED + #include <netinet/sctp_uio.h> /* This dictates the size of the packet @@ -607,7 +609,4 @@ struct sctp_error_unrecognized_chunk { #define SCTP_LOG_AT_SEND_2_OUTQ 0x08000000 #define SCTP_LOG_TRY_ADVANCE 0x10000000 - -#undef SCTP_PACKED - #endif /* !_NETINET_SCTP_H_ */ |