about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2013-07-24 01:48:11 -0400
committerDaniel Micay <danielmicay@gmail.com>2013-07-24 09:45:21 -0400
commit4a2d22bdb1292fe2c4b415671def7959adf36920 (patch)
tree7decd525e755308e04da3a315911bdf4b1339e7e /src/libstd
parentc50d3e3fca5760fff19f6c8304c608d2b41eba45 (diff)
downloadrust-4a2d22bdb1292fe2c4b415671def7959adf36920.tar.gz
rust-4a2d22bdb1292fe2c4b415671def7959adf36920.zip
fix compilation on macos/windows
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/rt/args.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstd/rt/args.rs b/src/libstd/rt/args.rs
index f1a9c6023b9..85cdb9fc941 100644
--- a/src/libstd/rt/args.rs
+++ b/src/libstd/rt/args.rs
@@ -158,6 +158,7 @@ mod imp {
 #[cfg(target_os = "macos")]
 #[cfg(target_os = "win32")]
 mod imp {
+    use option::Option;
 
     pub unsafe fn init(_argc: int, _argv: **u8) {
     }
@@ -176,4 +177,4 @@ mod imp {
     pub fn clone() -> Option<~[~str]> {
         fail!()
     }
-}
\ No newline at end of file
+}