From 58fd18770d1655b66abc812ad2184da94dd40592 Mon Sep 17 00:00:00 2001 From: simonpj Date: Thu, 2 Dec 2004 16:33:16 +0000 Subject: [PATCH] [project @ 2004-12-02 16:33:16 by simonpj] Missing import on Windows --- ghc/compiler/main/Packages.lhs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ghc/compiler/main/Packages.lhs b/ghc/compiler/main/Packages.lhs index a4b34a3..fc03e86 100644 --- a/ghc/compiler/main/Packages.lhs +++ b/ghc/compiler/main/Packages.lhs @@ -64,6 +64,11 @@ import Data.Maybe ( fromJust, isNothing ) import System.Directory ( doesFileExist ) import Control.Monad ( when, foldM ) import Data.List ( nub, partition ) + +#ifdef mingw32_TARGET_OS +import Data.List ( isPrefixOf ) +#endif + import FastString import DATA_IOREF import EXCEPTION ( throwDyn ) -- 1.7.10.4