From 142eb685f913e15494bfab9ec142e40f6bf92cc4 Mon Sep 17 00:00:00 2001 From: Marvin Löbel Date: Fri, 6 Dec 2013 22:23:23 +0100 Subject: Made Results API more composable --- src/libstd/rt/local_ptr.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libstd/rt') diff --git a/src/libstd/rt/local_ptr.rs b/src/libstd/rt/local_ptr.rs index 803938589af..bff9390ee3b 100644 --- a/src/libstd/rt/local_ptr.rs +++ b/src/libstd/rt/local_ptr.rs @@ -48,6 +48,7 @@ pub unsafe fn borrow(f: |&mut T|) { /// it wherever possible. #[cfg(not(windows), not(target_os = "android"))] pub mod compiled { + #[cfg(not(test))] use libc::c_void; use cast; use option::{Option, Some, None}; -- cgit 1.4.1-3-g733a5