Skip to content

Commit 9b53e54

Browse files
committed
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>.
1 parent e773764 commit 9b53e54

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

libc-test/build.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,6 @@ fn main() {
149149
if !musl {
150150
cfg.header("linux/netlink.h");
151151
cfg.header("linux/magic.h");
152-
cfg.header("linux/fs.h");
153152

154153
if !mips {
155154
cfg.header("linux/quota.h");

src/unix/notbsd/linux/mips.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ pub const SIG_UNBLOCK: ::c_int = 0x2;
356356

357357
pub const PTHREAD_STACK_MIN: ::size_t = 131072;
358358

359-
pub const MS_RMT_MASK: ::c_ulong = 0x2800051;
359+
pub const MS_RMT_MASK: ::c_ulong = 0x800051;
360360

361361
pub const ADFS_SUPER_MAGIC: ::c_long = 0x0000adf5;
362362
pub const AFFS_SUPER_MAGIC: ::c_long = 0x0000adff;

0 commit comments

Comments
 (0)