@@ -1,4 +1,4 @@
1−{-# LANGUAGE DeriveDataTypeable, DeriveGeneric #-}
1+{-# LANGUAGE DeriveDataTypeable, DeriveGeneric, CPP #-}
3Copyright (C) 2006-2016 John MacFarlane <jgm@berkeley.edu>
3Copyright (C) 2006-2016 John MacFarlane <jgm@berkeley.edu>
@@ -39,7 +39,10 @@ import Data.Generics (Typeable)
39import GHC.Generics (Generic)
39import GHC.Generics (Generic)
40import Control.Exception (Exception)
40import Control.Exception (Exception)
41import Text.Pandoc.Shared (err)
41import Text.Pandoc.Shared (err)
42+#if MIN_VERSION_base(4,9,0)
42−import System.IO.Error (IOError)
43+import qualified System.IO.Error (IOError, ioError)
44type Input = String
47type Input = String