summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-09-30 09:31:35 -0700
committerGitHub <noreply@github.com>2016-09-30 09:31:35 -0700
commit0e0ab04abe1da61e42e58fa6f9b15ca1cc5c3f56 (patch)
treeee031e6a892cf5ae72f2b19cbcd34220c6c48818 /src
parent84fbc431f21df64f5a61d2c204fe2aea8fc0ee0f (diff)
parentc0fd46fa366428a630993624691e9c2dbfc2a7b2 (diff)
downloadrust-libc-0e0ab04abe1da61e42e58fa6f9b15ca1cc5c3f56.tar.gz
Auto merge of #391 - japaric:mips-musl, r=alexcrichton
add CI for mips-musl and fix the statvfs struct for this target r? @alexcrichton I didn't really test the CI part but this target now passes libc-test under QEMU
Diffstat (limited to 'src')
-rw-r--r--src/unix/notbsd/linux/mod.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/unix/notbsd/linux/mod.rs b/src/unix/notbsd/linux/mod.rs
index b767e0a4ec..d685a4037f 100644
--- a/src/unix/notbsd/linux/mod.rs
+++ b/src/unix/notbsd/linux/mod.rs
@@ -139,9 +139,12 @@ s! {
pub f_files: ::fsfilcnt_t,
pub f_ffree: ::fsfilcnt_t,
pub f_favail: ::fsfilcnt_t,
+ #[cfg(target_endian = "little")]
pub f_fsid: ::c_ulong,
#[cfg(target_pointer_width = "32")]
- pub __f_unused: ::c_int,
+ __f_unused: ::c_int,
+ #[cfg(target_endian = "big")]
+ pub f_fsid: ::c_ulong,
pub f_flag: ::c_ulong,
pub f_namemax: ::c_ulong,
__f_spare: [::c_int; 6],