summary refs log tree commit diff stats
path: root/lib/std
diff options
context:
space:
mode:
Diffstat (limited to 'lib/std')
-rw-r--r--lib/std/sysrand.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/sysrand.nim b/lib/std/sysrand.nim
index 9467f5033..eeaa23d72 100644
--- a/lib/std/sysrand.nim
+++ b/lib/std/sysrand.nim
@@ -57,7 +57,7 @@ runnableExamples:
 
 
 when not defined(js):
-  import os
+  import std/oserrors
 
 when defined(posix):
   import posix