Skip to content

Commit

Permalink
Auto merge of rust-lang#706 - cactorium:master, r=alexcrichton
Browse files Browse the repository at this point in the history
Add IPV6_JOIN_GROUP and IPV6_LEAVE_GROUP to uclibc

Hello! Just some minor fixes so that net2 compiles correctly on uclibc
  • Loading branch information
bors committed Jul 31, 2017
2 parents 560e73f + db54ada commit 60064cb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/unix/uclibc/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -732,6 +732,9 @@ pub const IP_HDRINCL: ::c_int = 3;
pub const IP_ADD_MEMBERSHIP: ::c_int = 35;
pub const IP_DROP_MEMBERSHIP: ::c_int = 36;

pub const IPV6_JOIN_GROUP: ::c_int = 20;
pub const IPV6_LEAVE_GROUP: ::c_int = 21;

pub const TCP_NODELAY: ::c_int = 1;
pub const TCP_MAXSEG: ::c_int = 2;
pub const TCP_CORK: ::c_int = 3;
Expand Down

0 comments on commit 60064cb

Please sign in to comment.