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:
parent
d87e55886e
commit
430061cf18
@ -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_ */
|
||||
|
Loading…
Reference in New Issue
Block a user