summary refs log tree commit diff stats
path: root/lib/std/private
diff options
context:
space:
mode:
Diffstat (limited to 'lib/std/private')
-rw-r--r--lib/std/private/globs.nim4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/std/private/globs.nim b/lib/std/private/globs.nim
index e697ca91c..b98a7808b 100644
--- a/lib/std/private/globs.nim
+++ b/lib/std/private/globs.nim
@@ -4,7 +4,9 @@ this can eventually be moved to std/os and `walkDirRec` can be implemented in te
 to avoid duplication
 ]##
 
-import std/[os,strutils]
+import std/[os]
+when defined(windows):
+  from strutils import replace
 
 type
   PathEntry* = object