summary refs log tree commit diff stats
path: root/lib/std/sysrand.nim
diff options
context:
space:
mode:
authorringabout <43030857+ringabout@users.noreply.github.com>2022-11-01 17:18:04 +0800
committerGitHub <noreply@github.com>2022-11-01 10:18:04 +0100
commit6166b796ba159f8aaeb741cc2359ae32037262eb (patch)
tree1569156dc1015733da25edb5213380945e56037b /lib/std/sysrand.nim
parentd735c447d35948ef6fda8270d1665cbd66c4636a (diff)
downloadNim-6166b796ba159f8aaeb741cc2359ae32037262eb.tar.gz
refactor os imports into corresponding small modules (#20720)
Diffstat (limited to 'lib/std/sysrand.nim')
-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