diff options
author | Joey Hess <id@joeyh.name> | 2013-05-11 15:03:00 -0500 |
---|---|---|
committer | Joey Hess <id@joeyh.name> | 2013-05-11 15:03:00 -0500 |
commit | d0fa82fb721cdc85438287e29a94cb796b7bc464 (patch) | |
tree | 26a2486b8e715b5937ce41679eafd42c02f2310a /Backend | |
parent | 679eaf6077375c5d59501d12c79e0891cbdd904f (diff) |
git-annex now builds on Windows (doesn't work)
Diffstat (limited to 'Backend')
-rwxr-xr-x[-rw-r--r--] | Backend/SHA.hs | 1 | ||||
-rwxr-xr-x[-rw-r--r--] | Backend/WORM.hs | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/Backend/SHA.hs b/Backend/SHA.hs index a735ce1e5..f906dd3bb 100644..100755 --- a/Backend/SHA.hs +++ b/Backend/SHA.hs @@ -18,6 +18,7 @@ import qualified Build.SysConfig as SysConfig import Data.Digest.Pure.SHA import qualified Data.ByteString.Lazy as L import Data.Char +import System.PosixCompat.Files type SHASize = Int diff --git a/Backend/WORM.hs b/Backend/WORM.hs index 3471eedc1..03c7f9899 100644..100755 --- a/Backend/WORM.hs +++ b/Backend/WORM.hs @@ -12,6 +12,8 @@ import Types.Backend import Types.Key import Types.KeySource +import System.PosixCompat.Files + backends :: [Backend] backends = [backend] |