about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorValerii Hiora <valerii.hiora@gmail.com>2014-08-25 13:45:07 +0300
committerValerii Hiora <valerii.hiora@gmail.com>2014-08-25 14:31:53 +0300
commitff7b58f98c2fcd80a0cde68948e5d3fcf7b0f6c4 (patch)
tree57122405505546ea4905c0712a3ea1ddf5d33984 /src/libstd
parent0b3e43d2a47ecf4908a912c1144942e5216703ea (diff)
downloadrust-ff7b58f98c2fcd80a0cde68948e5d3fcf7b0f6c4.tar.gz
rust-ff7b58f98c2fcd80a0cde68948e5d3fcf7b0f6c4.zip
Adopting FFI changes for iOS
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/rand/os.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/rand/os.rs b/src/libstd/rand/os.rs
index 2be4129883f..07ad08e1b3c 100644
--- a/src/libstd/rand/os.rs
+++ b/src/libstd/rand/os.rs
@@ -85,6 +85,7 @@ mod imp {
         marker: marker::NoCopy
     }
 
+    #[repr(C)]
     struct SecRandom;
 
     static kSecRandomDefault: *const SecRandom = 0 as *const SecRandom;