Skip to content

Commit f9119d5

Browse files
committed
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](https://github.com/openbsd/src/blob/e35050970e3e2b822e383a5e844e4c4402eebccc/sys/sys/socket.h#L97) and [Bitrig](https://github.com/bitrig/bitrig/blob/a15267d8249fe8d329eb34048605c59a394a02ac/sys/sys/socket.h#L100) have it. Required for nix-rust/nix#688
2 parents 27a319e + a586a85 commit f9119d5

File tree

1 file changed

+1
-0
lines changed
  • src/unix/bsd/netbsdlike/openbsdlike

1 file changed

+1
-0
lines changed

src/unix/bsd/netbsdlike/openbsdlike/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ pub const AT_REMOVEDIR: ::c_int = 0x08;
210210

211211
pub const RLIM_NLIMITS: ::c_int = 9;
212212

213+
pub const SO_TIMESTAMP: ::c_int = 0x0800;
213214
pub const SO_SNDTIMEO: ::c_int = 0x1005;
214215
pub const SO_RCVTIMEO: ::c_int = 0x1006;
215216
pub const SO_BINDANY: ::c_int = 0x1000;

0 commit comments

Comments
 (0)