1Index: libc/src/lib.rs 2=================================================================== 3--- a/src/lib.rs 4+++ b/src/lib.rs 5@@ -30,6 +30,10 @@ 6 )] 7 #![cfg_attr(libc_const_extern_fn, feature(const_extern_fn))] 8 9+// ANDROID: Use std to allow building as a dylib. 10+#[cfg(android_dylib)] 11+extern crate std; 12+ 13 #[macro_use] 14 mod macros; 15 16