aboutsummaryrefslogtreecommitdiff
path: root/Annex/LockPool.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-08-04 13:12:18 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-08-04 13:18:05 -0400
commit381c1f7634e20a2faa0b15255870f9dbf745f230 (patch)
tree52f5bd3a605dc89ca9d29d66b48c49e9956752ee /Annex/LockPool.hs
parent9d06348fa368d502fd1330969cad3c0ea25286fa (diff)
squash compiler warnings on Windows
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 ()