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>.
This commit is contained in:
Jim Blandy 2016-01-01 18:26:30 -08:00
parent e77376494d
commit 9b53e54dd5
2 changed files with 1 additions and 2 deletions

View File

@ -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");

View File

@ -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;