aboutsummaryrefslogtreecommitdiff
path: root/patches/std.diff
blob: 4524081d9bf41b36606348f47c706d1778816230 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/src/lib.rs b/src/lib.rs
index 8196950..f77d0b1 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -22,6 +22,9 @@
 #![no_std]
 use core::ops::Range;
 
+#[cfg(android_dylib)]
+extern crate std;
+
 /// A PRNG producing a 32-bit output.
 ///
 /// The current implementation is `PCG-XSH-RR`.