deal with Glob/filemanip conflict

This commit is contained in:
Joey Hess 2013-02-16 10:31:59 -04:00
parent 63ce1a4f71
commit d488905af1

View file

@ -5,7 +5,7 @@
- Licensed under the GNU GPL version 3 or higher. - Licensed under the GNU GPL version 3 or higher.
-} -}
{-# LANGUAGE CPP #-} {-# LANGUAGE PackageImports, CPP #-}
module Limit where module Limit where
@ -13,7 +13,7 @@ import Data.Time.Clock.POSIX
import qualified Data.Set as S import qualified Data.Set as S
import qualified Data.Map as M import qualified Data.Map as M
#ifdef WITH_GLOB #ifdef WITH_GLOB
import System.FilePath.Glob (simplify, compile, match) import "Glob" System.FilePath.Glob (simplify, compile, match)
#else #else
import Text.Regex.PCRE.Light.Char8 import Text.Regex.PCRE.Light.Char8
import System.Path.WildMatch import System.Path.WildMatch