Skip to content

Commit b080eb5

Browse files
committed
Auto merge of #865 - cactorium:master, r=alexcrichton
Minor fixes for mips-unknown-linux-uclibc Just adding a few definitions so the toolchain compiles
2 parents 06a855b + fdcb8d9 commit b080eb5

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/unix/uclibc/mips/mips32.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ s! {
6666
}
6767

6868
pub struct sigaction {
69-
pub sa_flags: ::c_uint,
69+
pub sa_flags: ::c_int,
7070
pub sa_sigaction: ::sighandler_t,
7171
pub sa_mask: sigset_t,
7272
_restorer: *mut ::c_void,

src/unix/uclibc/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -790,6 +790,8 @@ pub const IP_TTL: ::c_int = 2;
790790
pub const IP_HDRINCL: ::c_int = 3;
791791
pub const IP_ADD_MEMBERSHIP: ::c_int = 35;
792792
pub const IP_DROP_MEMBERSHIP: ::c_int = 36;
793+
pub const IPV6_ADD_MEMBERSHIP: ::c_int = 20;
794+
pub const IPV6_DROP_MEMBERSHIP: ::c_int = 21;
793795

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

0 commit comments

Comments
 (0)