projects
/
git-annex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d22614d
)
fix build on windows
author
Joey Hess
<joeyh@joeyh.name>
Tue, 10 Nov 2020 15:21:03 +0000
(11:21 -0400)
committer
Joey Hess
<joeyh@joeyh.name>
Tue, 10 Nov 2020 15:21:03 +0000
(11:21 -0400)
Utility/Path.hs
patch
|
blob
|
history
diff --git
a/Utility/Path.hs
b/Utility/Path.hs
index b8f44e38bc301b95e7e36a2052f1743d6706cca2..6bd407e600f8e1046287999142e9ce71749c93b7 100644
(file)
--- a/
Utility/Path.hs
+++ b/
Utility/Path.hs
@@
-36,6
+36,11
@@
import Prelude
import Utility.Monad
import Utility.SystemDirectory
+#ifdef mingw32_HOST_OS
+import Data.Char
+import Utility.FileSystemEncoding
+#endif
+
{- Simplifies a path, removing any "." component, collapsing "dir/..",
- and removing the trailing path separator.
-