From c3cb01cec2fa582c65046594c2d8179eb2404c9d Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 2 Oct 2013 20:26:00 -0400 Subject: fix windows build --- Git/Construct.hs | 2 -- Git/Remote.hs | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Git/Construct.hs b/Git/Construct.hs index 377ddeeae..6514b80bc 100644 --- a/Git/Construct.hs +++ b/Git/Construct.hs @@ -25,8 +25,6 @@ module Git.Construct ( #ifndef mingw32_HOST_OS import System.Posix.User -#else -import Git.FilePath #endif import qualified Data.Map as M hiding (map, split) import Network.URI diff --git a/Git/Remote.hs b/Git/Remote.hs index 3dc6d9e45..dfb6a721c 100644 --- a/Git/Remote.hs +++ b/Git/Remote.hs @@ -17,6 +17,9 @@ import qualified Git.BuildVersion import Data.Char import qualified Data.Map as M import Network.URI +#ifdef mingw32_HOST_OS +import Git.FilePath +#endif type RemoteName = String -- cgit v1.2.3