Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

make-pandoc-man-pages: CPP macros to import right time module.

  • Loading branch information...
commit f135ac2389240c42d7c27ab9f9b48b58a3db10c5 1 parent bd645d9
@jgm authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 man/make-pandoc-man-pages.hs
5 man/make-pandoc-man-pages.hs
@@ -7,11 +7,14 @@ import System.FilePath
import System.Environment (getArgs)
import Text.Pandoc.Shared (normalize)
import Data.Maybe ( catMaybes )
-import Data.Time.Clock (UTCTime(..))
import Prelude hiding (catch)
import Control.Exception ( catch )
import System.IO.Error ( isDoesNotExistError )
+#if MIN_VERSION_directory(1,2,0)
+import Data.Time.Clock (UTCTime(..))
import System.Time (ClockTime(..))
import System.Directory
main :: IO ()
Please sign in to comment.
Something went wrong with that request. Please try again.