diff options
Diffstat (limited to 'man/make-pandoc-man-pages.hs')
-rw-r--r-- | man/make-pandoc-man-pages.hs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/man/make-pandoc-man-pages.hs b/man/make-pandoc-man-pages.hs index 52e2741f1..eca1276eb 100644 --- a/man/make-pandoc-man-pages.hs +++ b/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(..)) +#else import System.Time (ClockTime(..)) +#endif import System.Directory main :: IO () |