Skip to content

Commit

Permalink
Fix ucontext_t and NFT_MSG_MAX on x86_64
Browse files Browse the repository at this point in the history
  • Loading branch information
gnzlbg committed May 16, 2019
1 parent e94f68c commit 4497a78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/unix/notbsd/linux/other/b64/x86_64.rs
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ s_no_extra_traits! {
pub uc_mcontext: mcontext_t,
pub uc_sigmask: ::sigset_t,
__private: [u8; 512],
__ssp: [::c_ulonglong; 4],
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/unix/notbsd/linux/other/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,7 @@ cfg_if! {
pub const NFT_MSG_GETOBJ: ::c_int = 19;
pub const NFT_MSG_DELOBJ: ::c_int = 20;
pub const NFT_MSG_GETOBJ_RESET: ::c_int = 21;
pub const NFT_MSG_MAX: ::c_int = 22;
pub const NFT_MSG_MAX: ::c_int = 25;
} else {
pub const NFT_MSG_MAX: ::c_int = 18;
}
Expand Down

0 comments on commit 4497a78

Please sign in to comment.