summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Plugins/Monitors/CoreCommon.hs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Plugins/Monitors/CoreCommon.hs b/src/Plugins/Monitors/CoreCommon.hs
index 4ded88a..5b6d89a 100644
--- a/src/Plugins/Monitors/CoreCommon.hs
+++ b/src/Plugins/Monitors/CoreCommon.hs
@@ -1,4 +1,4 @@
-{-# LANGUAGE PatternGuards #-}
+{-# LANGUAGE CPP, PatternGuards #-}
-----------------------------------------------------------------------------
-- |
@@ -16,6 +16,10 @@
module Plugins.Monitors.CoreCommon where
+#ifndef GHC8
+import Control.Applicative
+#endif
+
import Data.Char hiding (Space)
import Data.Function
import Data.List