avoid build warning on windows
authorJoey Hess <joeyh@joeyh.name>
Tue, 26 Mar 2024 18:07:41 +0000 (14:07 -0400)
committerJoey Hess <joeyh@joeyh.name>
Tue, 26 Mar 2024 18:07:41 +0000 (14:07 -0400)
Annex/Content.hs

index 2800754216626737146a65110ea05f2d7c96c9d8..693c1de2da19b1321c4ba3869ef2dffbb5b165e7 100644 (file)
@@ -103,7 +103,9 @@ import Logs.Location
 import Utility.InodeCache
 import Utility.CopyFile
 import Utility.Metered
+#ifndef mingw32_HOST_OS
 import Utility.FileMode
+#endif
 import qualified Utility.RawFilePath as R
 
 import qualified System.FilePath.ByteString as P