From 166048da5dadba2adf959072060bbb5157837564 Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Thu, 7 Nov 2019 09:51:15 +0100 Subject: [PATCH] osproc needs 'import linux' for -d:useClone --- lib/pure/osproc.nim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/pure/osproc.nim b/lib/pure/osproc.nim index 2726340fb8..4bf13ceb96 100644 --- a/lib/pure/osproc.nim +++ b/lib/pure/osproc.nim @@ -27,6 +27,9 @@ when defined(windows): else: import posix +when defined(linux) and defined(useClone): + import linux + type ProcessOption* = enum ## Options that can be passed to `startProcess proc ## <#startProcess,string,string,openArray[string],StringTableRef,set[ProcessOption]>`_.