Fix compiler warning for older GHC versions.
This commit is contained in:
parent
61d3376a45
commit
ad2e19a41f
1 changed files with 5 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
{-# LANGUAGE DeriveDataTypeable, DeriveGeneric #-}
|
{-# LANGUAGE DeriveDataTypeable, DeriveGeneric, CPP #-}
|
||||||
{-
|
{-
|
||||||
Copyright (C) 2006-2016 John MacFarlane <jgm@berkeley.edu>
|
Copyright (C) 2006-2016 John MacFarlane <jgm@berkeley.edu>
|
||||||
|
|
||||||
|
@ -39,7 +39,10 @@ import Data.Generics (Typeable)
|
||||||
import GHC.Generics (Generic)
|
import GHC.Generics (Generic)
|
||||||
import Control.Exception (Exception)
|
import Control.Exception (Exception)
|
||||||
import Text.Pandoc.Shared (err)
|
import Text.Pandoc.Shared (err)
|
||||||
import System.IO.Error (IOError)
|
#if MIN_VERSION_base(4,9,0)
|
||||||
|
import qualified System.IO.Error (IOError, ioError)
|
||||||
|
#else
|
||||||
|
#endif
|
||||||
|
|
||||||
type Input = String
|
type Input = String
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue