Undefine SCTP_PACKED before including sctp_uio.h, which doesn't

use it. Spotted by Irene Ruengeler.

MFC after: 3 days
This commit is contained in:
Michael Tuexen 2012-05-25 11:14:08 +00:00
parent d87e55886e
commit 430061cf18
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=235990

View file

@ -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_ */