summary refs log tree commit diff stats
path: root/lib/core/rlocks.nim
diff options
context:
space:
mode:
Diffstat (limited to 'lib/core/rlocks.nim')
-rw-r--r--lib/core/rlocks.nim3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/core/rlocks.nim b/lib/core/rlocks.nim
index 0444b9a83..bee5c1655 100644
--- a/lib/core/rlocks.nim
+++ b/lib/core/rlocks.nim
@@ -16,8 +16,7 @@ when not compileOption("threads") and not defined(nimdoc):
     # so they can replace each other seamlessly.
     {.error: "Rlocks requires --threads:on option.".}
 
-const insideRLocksModule = true
-include "system/syslocks"
+import std/private/syslocks
 
 type
   RLock* = SysLock ## Nim lock, re-entrant