summaryrefslogtreecommitdiffhomepage
path: root/src/Plugins/Date.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Plugins/Date.hs')
-rw-r--r--src/Plugins/Date.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Plugins/Date.hs b/src/Plugins/Date.hs
index a263536..6cbef7e 100644
--- a/src/Plugins/Date.hs
+++ b/src/Plugins/Date.hs
@@ -16,11 +16,16 @@
--
-----------------------------------------------------------------------------
+{-# LANGUAGE CPP #-}
+
module Plugins.Date (Date(..)) where
import Plugins
+#ifdef GHC783
import System.Locale
+#endif
+
import Control.Monad (liftM)
import Data.Time