git.iko.soy/typeable/pandoc
on master help sign in
Fix import in PDF.
commit708bb8afe48e82fd35b1951714ecef1304eb38f7 authorJohn MacFarlane <jgm@berkeley.edu> dateWed 16 Aug 2017, 10:13 (9 years ago) parent6843495
1 file changed+4
src/Text/Pandoc/PDF.hs+4
src/Text/Pandoc/PDF.hs+4
@@ -50,7 +50,11 @@ import System.Exit (ExitCode (..))
5050import System.FilePath
5151import System.IO (stdout)
5252import System.IO.Temp (withTempDirectory, withTempFile)
53+#if MIN_VERSION_base(4,8,3)
5354import System.IO.Error (IOError, isDoesNotExistError)
55+#else
56+import System.IO.Error (isDoesNotExistError)
57+#endif
5458import Text.Pandoc.Definition
5559import Text.Pandoc.Error (PandocError(PandocPDFProgramNotFoundError))
5660import Text.Pandoc.MediaBag