Fix build with bytestring >= 0.10.8
This commit is contained in:
parent
14b48515a2
commit
a83e96259f
@ -52,7 +52,11 @@ module HPath
|
|||||||
|
|
||||||
import Control.Exception (Exception)
|
import Control.Exception (Exception)
|
||||||
import Control.Monad.Catch (MonadThrow(..))
|
import Control.Monad.Catch (MonadThrow(..))
|
||||||
|
#if MIN_VERSION_bytestring(0,10,8)
|
||||||
|
import Data.ByteString(ByteString, stripPrefix)
|
||||||
|
#else
|
||||||
import Data.ByteString(ByteString)
|
import Data.ByteString(ByteString)
|
||||||
|
#endif
|
||||||
import qualified Data.ByteString as BS
|
import qualified Data.ByteString as BS
|
||||||
import Data.Data
|
import Data.Data
|
||||||
import qualified Data.List as L
|
import qualified Data.List as L
|
||||||
|
Loading…
Reference in New Issue
Block a user