about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorCorey Richardson <corey@octayn.net>2014-05-27 18:37:49 -0700
committerCorey Richardson <corey@octayn.net>2014-08-20 21:02:23 -0400
commitbc19a776312eda23e8add1d9f6db4d9d7401d9cb (patch)
tree0c0b48ee6caf520010b9a81ae1cbe8ccb579301d /src/libstd
parent6e8ff999589a7b4c7f62f7128f3e028a7b3ea64f (diff)
downloadrust-bc19a776312eda23e8add1d9f6db4d9d7401d9cb.tar.gz
rust-bc19a776312eda23e8add1d9f6db4d9d7401d9cb.zip
Add #[repr(C)] to all the things!
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/io/test.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/io/test.rs b/src/libstd/io/test.rs
index 079a9aef648..769ad2a8468 100644
--- a/src/libstd/io/test.rs
+++ b/src/libstd/io/test.rs
@@ -146,6 +146,7 @@ mod darwin_fd_limit {
 
     use libc;
     type rlim_t = libc::uint64_t;
+    #[repr(C)]
     struct rlimit {
         rlim_cur: rlim_t,
         rlim_max: rlim_t