Skip to content

Commit cfc0165

Browse files
committed
Auto merge of #518 - binarycrusader:master, r=alexcrichton
Add missing MSG_PEEK definition for Solaris Fixes #517
2 parents 0056dbe + 463e958 commit cfc0165

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/unix/solaris/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -828,6 +828,8 @@ pub const SO_RCVTIMEO: ::c_int = 0x1006;
828828
pub const SO_ERROR: ::c_int = 0x1007;
829829
pub const SO_TYPE: ::c_int = 0x1008;
830830

831+
pub const MSG_PEEK: ::c_int = 0x2;
832+
831833
pub const IFF_LOOPBACK: ::c_int = 0x8;
832834

833835
pub const SHUT_RD: ::c_int = 0;

0 commit comments

Comments
 (0)