From 9b53e54dd59c32dd379b1517a83100f82ac29658 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Fri, 1 Jan 2016 18:26:30 -0800 Subject: Don't #include ; libc's API is described by . Adjust MIPS MS_RMT_MASK to match . --- libc-test/build.rs | 1 - src/unix/notbsd/linux/mips.rs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/libc-test/build.rs b/libc-test/build.rs index f425624d25..fb6fa42dbd 100644 --- a/libc-test/build.rs +++ b/libc-test/build.rs @@ -149,7 +149,6 @@ fn main() { if !musl { cfg.header("linux/netlink.h"); cfg.header("linux/magic.h"); - cfg.header("linux/fs.h"); if !mips { cfg.header("linux/quota.h"); diff --git a/src/unix/notbsd/linux/mips.rs b/src/unix/notbsd/linux/mips.rs index 01fb9bd3b8..23923b3cff 100644 --- a/src/unix/notbsd/linux/mips.rs +++ b/src/unix/notbsd/linux/mips.rs @@ -356,7 +356,7 @@ pub const SIG_UNBLOCK: ::c_int = 0x2; pub const PTHREAD_STACK_MIN: ::size_t = 131072; -pub const MS_RMT_MASK: ::c_ulong = 0x2800051; +pub const MS_RMT_MASK: ::c_ulong = 0x800051; pub const ADFS_SUPER_MAGIC: ::c_long = 0x0000adf5; pub const AFFS_SUPER_MAGIC: ::c_long = 0x0000adff; -- cgit v1.2.1