diff options
author | Kelvin Ly <kelvin.ly1618@gmail.com> | 2017-11-14 14:18:55 -0500 |
---|---|---|
committer | Kelvin Ly <kelvin.ly1618@gmail.com> | 2017-11-14 14:18:55 -0500 |
commit | 58c3fa0feb7f1aefa4b6f948f69152accb188cc8 (patch) | |
tree | b2036e56746942644a62bfefcd9007b4334f21d7 /src/unix/uclibc/mod.rs | |
parent | 73f531b07d9fda89f1cbbda9f450259d3c148cfa (diff) | |
download | rust-libc-58c3fa0feb7f1aefa4b6f948f69152accb188cc8.tar.gz |
Add some fixes to allow it to compile with newer libstd
Diffstat (limited to 'src/unix/uclibc/mod.rs')
-rw-r--r-- | src/unix/uclibc/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/unix/uclibc/mod.rs b/src/unix/uclibc/mod.rs index df5ea71e8e..0ee3a1f876 100644 --- a/src/unix/uclibc/mod.rs +++ b/src/unix/uclibc/mod.rs @@ -790,6 +790,8 @@ pub const IP_TTL: ::c_int = 2; 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_ADD_MEMBERSHIP ::c_int = 20; +pub const IPV6_DROP_MEMBERSHIP ::c_int = 20; pub const IPV6_JOIN_GROUP: ::c_int = 20; pub const IPV6_LEAVE_GROUP: ::c_int = 21; |