summaryrefslogtreecommitdiff
path: root/Annex/Common.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Annex/Common.hs')
-rw-r--r--Annex/Common.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/Annex/Common.hs b/Annex/Common.hs
index 52a545a59..bb277df7d 100644
--- a/Annex/Common.hs
+++ b/Annex/Common.hs
@@ -1,3 +1,5 @@
+{-# LANGUAGE CPP #-}
+
module Annex.Common (module X) where
import Common as X
@@ -7,3 +9,6 @@ import Types.UUID as X
import Annex as X (gitRepo, inRepo, fromRepo, calcRepo)
import Annex.Locations as X
import Messages as X
+#ifndef mingw32_HOST_OS
+import System.Posix.IO as X hiding (createPipe)
+#endif