summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2016-11-17 10:03:25 -0500
committerBen Gamari <ben@smart-cactus.org>2016-11-17 11:04:02 -0500
commit04b024a9dc5c001e3e9ee97fc999a443a492fb84 (patch)
tree6dc5f897b7a76e208b30f6df40c2d3b1ad30ffba
parent4d4f3533e6ec8698f8af30977c81f17eed1f6970 (diff)
downloadhaskell-04b024a9dc5c001e3e9ee97fc999a443a492fb84.tar.gz
GHCi: Unconditionally import System.Directory
Both Windows and POSIX codepaths use System.Directory.canonicalizePath.
-rw-r--r--compiler/ghci/GHCi.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/ghci/GHCi.hs b/compiler/ghci/GHCi.hs
index 755771e1ba..472251db04 100644
--- a/compiler/ghci/GHCi.hs
+++ b/compiler/ghci/GHCi.hs
@@ -79,9 +79,9 @@ import GHC.IO.Handle.Types (Handle)
import Foreign.C
import GHC.IO.Handle.FD (fdToHandle)
#else
-import System.Directory
import System.Posix as Posix
#endif
+import System.Directory
import System.Process
import GHC.Conc (getNumProcessors, pseq, par)