summary refs log tree commit diff stats
path: root/lib/std/private/osfiles.nim
diff options
context:
space:
mode:
authorringabout <43030857+ringabout@users.noreply.github.com>2023-10-31 00:03:04 +0800
committerGitHub <noreply@github.com>2023-10-30 17:03:04 +0100
commit4d11d0619d11d8aecdaff998981efcd054de9760 (patch)
treed098736002228d600e3232f6ab6d8347872224c8 /lib/std/private/osfiles.nim
parent403e0118ae8d099384e9bd6a046c2114538503b8 (diff)
downloadNim-4d11d0619d11d8aecdaff998981efcd054de9760.tar.gz
complete std prefixes for stdlib (#22887)
follow up https://github.com/nim-lang/Nim/pull/22851
follow up https://github.com/nim-lang/Nim/pull/22873
Diffstat (limited to 'lib/std/private/osfiles.nim')
-rw-r--r--lib/std/private/osfiles.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/std/private/osfiles.nim b/lib/std/private/osfiles.nim
index 948df4211..a1d7079c5 100644
--- a/lib/std/private/osfiles.nim
+++ b/lib/std/private/osfiles.nim
@@ -15,9 +15,9 @@ when defined(nimPreviewSlimSystem):
 when weirdTarget:
   discard
 elif defined(windows):
-  import winlean
+  import std/winlean
 elif defined(posix):
-  import posix, times
+  import std/[posix, times]
 
   proc toTime(ts: Timespec): times.Time {.inline.} =
     result = initTime(ts.tv_sec.int64, ts.tv_nsec.int)