aboutsummaryrefslogtreecommitdiff
path: root/Annex/Direct.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Annex/Direct.hs')
-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. -}