summaryrefslogtreecommitdiff
path: root/Annex/Environment.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Annex/Environment.hs')
-rw-r--r--Annex/Environment.hs5
1 files changed, 4 insertions, 1 deletions
diff --git a/Annex/Environment.hs b/Annex/Environment.hs
index ce9c33ad6..ae5a5646f 100644
--- a/Annex/Environment.hs
+++ b/Annex/Environment.hs
@@ -10,12 +10,15 @@
module Annex.Environment where
import Common.Annex
-import Utility.Env
import Utility.UserInfo
import qualified Git.Config
import Config
import Annex.Exception
+#ifndef mingw32_HOST_OS
+import Utility.Env
+#endif
+
{- Checks that the system's environment allows git to function.
- Git requires a GECOS username, or suitable git configuration, or
- environment variables.