Skip to content

Commit

Permalink
Add missing MSG_PEEK definition for Solaris.
Browse files Browse the repository at this point in the history
  • Loading branch information
binarycrusader committed Feb 10, 2017
1 parent c9548a5 commit 463e958
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/unix/solaris/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -828,6 +828,8 @@ pub const SO_RCVTIMEO: ::c_int = 0x1006;
pub const SO_ERROR: ::c_int = 0x1007;
pub const SO_TYPE: ::c_int = 0x1008;

pub const MSG_PEEK: ::c_int = 0x2;

pub const IFF_LOOPBACK: ::c_int = 0x8;

pub const SHUT_RD: ::c_int = 0;
Expand Down

0 comments on commit 463e958

Please sign in to comment.