Auto merge of #697 - wezm:openbsd-so_timestamp, r=alexcrichton
Add missing SO_TIMESTAMP constant for OpenBSD like OSes Added to mod.rs as both [OpenBSD](e35050970e/sys/sys/socket.h (L97)
) and [Bitrig](a15267d824/sys/sys/socket.h (L100)
) have it. Required for https://github.com/nix-rust/nix/pull/688
This commit is contained in:
commit
f9119d51c3
@ -210,6 +210,7 @@ pub const AT_REMOVEDIR: ::c_int = 0x08;
|
||||
|
||||
pub const RLIM_NLIMITS: ::c_int = 9;
|
||||
|
||||
pub const SO_TIMESTAMP: ::c_int = 0x0800;
|
||||
pub const SO_SNDTIMEO: ::c_int = 0x1005;
|
||||
pub const SO_RCVTIMEO: ::c_int = 0x1006;
|
||||
pub const SO_BINDANY: ::c_int = 0x1000;
|
||||
|
Loading…
x
Reference in New Issue
Block a user