From 4c1eb28c405fc86210963bf1a953be9ef04969ac Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 10 Nov 2020 11:21:03 -0400 Subject: [PATCH] fix build on windows --- Utility/Path.hs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Utility/Path.hs b/Utility/Path.hs index b8f44e38bc..6bd407e600 100644 --- 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. -