summary refs log tree commit diff stats
path: root/compiler/ndi.nim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/ndi.nim')
-rw-r--r--compiler/ndi.nim3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/ndi.nim b/compiler/ndi.nim
index 5af87237f..a9d9cfe79 100644
--- a/compiler/ndi.nim
+++ b/compiler/ndi.nim
@@ -12,6 +12,9 @@
 
 import ast, msgs, ropes, options, pathutils
 
+when defined(nimPreviewSlimSystem):
+  import std/[syncio, assertions]
+
 type
   NdiFile* = object
     enabled: bool