summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Plugins/Date.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Plugins/Date.hs b/src/Plugins/Date.hs
index a263536..cd688e6 100644
--- a/src/Plugins/Date.hs
+++ b/src/Plugins/Date.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP #-}
-----------------------------------------------------------------------------
-- |
-- Module : Plugins.Date
@@ -20,7 +21,9 @@ module Plugins.Date (Date(..)) where
import Plugins
+#if ! MIN_VERSION_time(1,5,0)
import System.Locale
+#endif
import Control.Monad (liftM)
import Data.Time