From: Joey Hess Date: Wed, 1 Jan 2020 18:40:00 +0000 (-0400) Subject: avoid build warning on windows X-Git-Tag: archive/raspbian/10.20250416-2+rpi1~1^2~134^2~176 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=2000e9a4b8d697b2b29ec8d3f65bad3e4d940338;p=git-annex.git avoid build warning on windows --- diff --git a/Annex/Content/PointerFile.hs b/Annex/Content/PointerFile.hs index 997f731ca6..cf66801d94 100644 --- a/Annex/Content/PointerFile.hs +++ b/Annex/Content/PointerFile.hs @@ -22,7 +22,9 @@ import Annex.ReplaceFile import Annex.InodeSentinal import Annex.Content.LowLevel import Utility.InodeCache +#if ! defined(mingw32_HOST_OS) import Utility.Touch +#endif {- Populates a pointer file with the content of a key. - diff --git a/Remote/Git.hs b/Remote/Git.hs index d145a0e542..3a7bb48446 100644 --- a/Remote/Git.hs +++ b/Remote/Git.hs @@ -61,9 +61,9 @@ import Creds import Types.NumCopies import Annex.Action import Messages.Progress -import qualified Utility.RawFilePath as R #ifndef mingw32_HOST_OS +import qualified Utility.RawFilePath as R import Utility.FileMode #endif