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:
bors 2017-07-25 14:24:04 +00:00
commit f9119d51c3

View File

@ -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;