diff options
Diffstat (limited to 'src/libstd/unstable')
| -rw-r--r-- | src/libstd/unstable/mutex.rs | 1 | ||||
| -rw-r--r-- | src/libstd/unstable/stack.rs | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/libstd/unstable/mutex.rs b/src/libstd/unstable/mutex.rs index e11557ff337..3f03486d426 100644 --- a/src/libstd/unstable/mutex.rs +++ b/src/libstd/unstable/mutex.rs @@ -167,6 +167,7 @@ mod imp { use libc::c_void; use libc; use ptr; + use ptr::RawPtr; type pthread_mutex_t = libc::c_void; type pthread_mutexattr_t = libc::c_void; diff --git a/src/libstd/unstable/stack.rs b/src/libstd/unstable/stack.rs index d6cd690eaa9..5b5eaf9d8d0 100644 --- a/src/libstd/unstable/stack.rs +++ b/src/libstd/unstable/stack.rs @@ -24,6 +24,8 @@ //! detection is not guaranteed to continue in the future. Usage of this module //! is discouraged unless absolutely necessary. +use str::Str; + static RED_ZONE: uint = 20 * 1024; /// This function is invoked from rust's current __morestack function. Segmented |
