summaryrefslogtreecommitdiff
path: root/Annex/LockPool.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Annex/LockPool.hs')
-rw-r--r--Annex/LockPool.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Annex/LockPool.hs b/Annex/LockPool.hs
index 40673bd7e..a9a0f3101 100644
--- a/Annex/LockPool.hs
+++ b/Annex/LockPool.hs
@@ -14,7 +14,9 @@ import System.Posix.Types (Fd)
import Common.Annex
import Annex
+#ifndef mingw32_HOST_OS
import Annex.Perms
+#endif
{- Create a specified lock file, and takes a shared lock. -}
lockFile :: FilePath -> Annex ()