diff --git a/Main.hs b/Main.hs
--- a/Main.hs
+++ b/Main.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP #-}
 import Hledger
 import Data.List
 import Data.Function
@@ -62,7 +63,11 @@
 
 readJournalFile' :: FilePath -> IO Journal
 readJournalFile' fn = do
+#if MIN_VERSION_hledger_lib(1,9,1)
+    Right j <- readJournalFile definputopts {ignore_assertions_ = True} fn
+#else
     Right j <- readJournalFile (Just "journal") Nothing False fn
+#endif
     return j
 
 matchingPostings :: AccountName -> Journal -> [PostingWithPath]
@@ -79,7 +84,7 @@
 main :: IO ()
 main = getArgs >>= \args -> case args of
   [acct, f1, f2] -> diffCmd (T.pack acct) f1 f2
-  ["--version"] -> putStrLn "hledger-diff 0.2.0.13"  -- keep synced with hledger-diff.cabal
+  ["--version"] -> putStrLn "hledger-diff 0.2.0.14"  -- keep synced with hledger-diff.cabal
   _ -> do
     putStrLn "Usage: hledger-diff account:name left.journal right.journal"
     exitFailure
diff --git a/hledger-diff.cabal b/hledger-diff.cabal
--- a/hledger-diff.cabal
+++ b/hledger-diff.cabal
@@ -1,5 +1,5 @@
 name:                hledger-diff
-version:             0.2.0.13
+version:             0.2.0.14
 synopsis:            Compares the transactions in two ledger files.
 description:
   hledger-diff is a command-line utility to compare two journal files.  It
