summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Assistant/ThreadedMonad.hs1
-rw-r--r--Assistant/Threads/TransferWatcher.hs1
-rw-r--r--Utility/Parallel.hs2
3 files changed, 4 insertions, 0 deletions
diff --git a/Assistant/ThreadedMonad.hs b/Assistant/ThreadedMonad.hs
index 16f3a9dd9..f32adff43 100644
--- a/Assistant/ThreadedMonad.hs
+++ b/Assistant/ThreadedMonad.hs
@@ -13,6 +13,7 @@ import qualified Annex
import Control.Concurrent
import Data.Tuple
import System.Posix.Types
+import System.Posix.Process
{- The Annex state is stored in a MVar, so that threaded actions can access
- it. -}
diff --git a/Assistant/Threads/TransferWatcher.hs b/Assistant/Threads/TransferWatcher.hs
index 5be63fce4..766c1f89e 100644
--- a/Assistant/Threads/TransferWatcher.hs
+++ b/Assistant/Threads/TransferWatcher.hs
@@ -17,6 +17,7 @@ import Utility.Types.DirWatcher
import Annex.BranchState
import Data.Map as M
+import System.Posix.Process
{- This thread watches for changes to the gitAnnexTransferDir,
- and updates the DaemonStatus's map of ongoing transfers. -}
diff --git a/Utility/Parallel.hs b/Utility/Parallel.hs
index 9df95ab2b..f4a79316c 100644
--- a/Utility/Parallel.hs
+++ b/Utility/Parallel.hs
@@ -9,6 +9,8 @@ module Utility.Parallel where
import Common
+import System.Posix.Process
+
{- Runs an action in parallel with a set of values.
- Returns the values partitioned into ones with which the action succeeded,
- and ones with which it failed. -}