diff options
author | Joey Hess <joeyh@joeyh.name> | 2019-05-23 12:13:56 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2019-05-23 12:15:33 -0400 |
commit | 16a2bed7107a5d1e1f9eaa7e71a686d090202bd5 (patch) | |
tree | b5fedfae8b09668b42ce500b9f8685fccf413474 /Logs | |
parent | 1e00f861ab254b16d5f5eba61c5123969e296580 (diff) |
avoid build warning on Windows about unused import
Diffstat (limited to 'Logs')
-rw-r--r-- | Logs/Transfer.hs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Logs/Transfer.hs b/Logs/Transfer.hs index ec9645f3d7..9df008a6d2 100644 --- a/Logs/Transfer.hs +++ b/Logs/Transfer.hs @@ -12,7 +12,6 @@ module Logs.Transfer where import Types.Transfer import Types.ActionItem import Annex.Common -import Annex.Perms import qualified Git import Utility.Metered import Utility.Percentage @@ -20,6 +19,9 @@ import Utility.PID import Annex.LockPool import Utility.TimeStamp import Logs.File +#ifndef mingw32_HOST_OS +import Annex.Perms +#endif import Data.Time.Clock import Data.Time.Clock.POSIX |