summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2015-03-08 20:47:21 +0100
committerjao <jao@gnu.org>2015-03-08 20:47:21 +0100
commit1668793e69b7e7c78b7c5b4fd05a256c8ea9f0b1 (patch)
tree3f5837f747d6582cab3ac3c4e89cf56440e37f10 /src
parent4e86a438d32dacfce6d429e475b225aa8d0e8e02 (diff)
downloadxmobar-1668793e69b7e7c78b7c5b4fd05a256c8ea9f0b1.tar.gz
xmobar-1668793e69b7e7c78b7c5b4fd05a256c8ea9f0b1.tar.bz2
Fix for GHC 7.8.4 (issue #213)
Diffstat (limited to 'src')
-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