about summary refs log tree commit diff
path: root/src/libnative/task.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libnative/task.rs')
-rw-r--r--src/libnative/task.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libnative/task.rs b/src/libnative/task.rs
index 5682697ebfc..aa3afd4c1a5 100644
--- a/src/libnative/task.rs
+++ b/src/libnative/task.rs
@@ -14,6 +14,7 @@
 //! by rust tasks. This implements the necessary API traits laid out by std::rt
 //! in order to spawn new tasks and deschedule the current task.
 
+use std::any::Any;
 use std::cast;
 use std::rt::env;
 use std::rt::local::Local;