Fix build for GHC < 7.10

This commit is contained in:
Julian Ospald 2016-06-14 19:21:03 +02:00
부모 ef66a24f87
커밋 f47c8edb42
No known key found for this signature in database
GPG 키 ID: 511B62C09D50CD28
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제

파일 보기

@ -69,6 +69,10 @@ import Data.ByteString.UTF8
(
toString
)
import Data.Typeable
(
Typeable
)
import Foreign.C.Error
(
getErrno
@ -105,7 +109,7 @@ import qualified System.Posix.Files.ByteString as PF
data HPathIOException = SameFile ByteString ByteString
| DestinationInSource ByteString ByteString
| RecursiveFailure [(RecursiveFailureHint, IOException)]
deriving (Eq, Show)
deriving (Eq, Show, Typeable)
-- |A type for giving failure hints on recursive failure, which allows