fix build on windows
authorJoey Hess <joeyh@joeyh.name>
Tue, 10 Nov 2020 15:21:03 +0000 (11:21 -0400)
committerJoey Hess <joeyh@joeyh.name>
Tue, 10 Nov 2020 15:21:03 +0000 (11:21 -0400)
Utility/Path.hs

index b8f44e38bc301b95e7e36a2052f1743d6706cca2..6bd407e600f8e1046287999142e9ce71749c93b7 100644 (file)
@@ -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.
  -