about summary refs log tree commit diff
path: root/src/libextra/tempfile.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libextra/tempfile.rs')
-rw-r--r--src/libextra/tempfile.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libextra/tempfile.rs b/src/libextra/tempfile.rs
index e02a7a33733..d7ee326f2ff 100644
--- a/src/libextra/tempfile.rs
+++ b/src/libextra/tempfile.rs
@@ -10,6 +10,8 @@
 
 //! Temporary files and directories
 
+use core::prelude::*;
+
 use core::rand::RngUtil;
 
 pub fn mkdtemp(tmpdir: &Path, suffix: &str) -> Option<Path> {