aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-07-09 15:37:25 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-07-09 15:37:25 -0400
commit6684d8e2417a645e2e6c6af442efe13539276acc (patch)
treebd2f46d243aa7384c4eaed4922581db64e62e273
parent12d480c8ee523aab1bcf80cac60b7681c2b96516 (diff)
fix windows build
-rw-r--r--Annex/Direct.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/Annex/Direct.hs b/Annex/Direct.hs
index c41f9cf49..9a305aab4 100644
--- a/Annex/Direct.hs
+++ b/Annex/Direct.hs
@@ -38,6 +38,9 @@ import Annex.Exception
import Annex.VariantFile
import Git.Index
import Annex.Index
+#ifdef mingw32_HOST_OS
+import Utility.WinLock
+#endif
{- Uses git ls-files to find files that need to be committed, and stages
- them into the index. Returns True if some changes were staged. -}