blob: 4334b2a20afcb4f5ed2543d9919948ba25031c8c [file] [log] [blame]
diff --git a/src/lib.rs b/src/lib.rs
index 52bbbe0..acea490 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -28,6 +28,10 @@
#![deny(missing_docs)]
#![cfg_attr(test, deny(warnings))]
+// ANDROID: Use std to allow building as a dylib.
+#[cfg(android_dylib)]
+extern crate std;
+
/// The main macro provided by this crate. See crate documentation for more
/// information.
#[macro_export]