summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Blandy <jimb@red-bean.com>2016-01-01 18:26:30 -0800
committerJim Blandy <jimb@red-bean.com>2016-01-11 21:02:45 -0800
commit9b53e54dd59c32dd379b1517a83100f82ac29658 (patch)
tree1ae3e4027c738e99896bfef9228cc63ada6ce86a
parente77376494dd14935fdc6b4010f5880f454bc358a (diff)
downloadrust-libc-9b53e54dd59c32dd379b1517a83100f82ac29658.tar.gz
Don't #include <linux/fs.h>; libc's API is described by <sys/mount.h>.
Adjust MIPS MS_RMT_MASK to match <sys/mount.h>.
-rw-r--r--libc-test/build.rs1
-rw-r--r--src/unix/notbsd/linux/mips.rs2
2 files changed, 1 insertions, 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;