summaryrefslogtreecommitdiff
path: root/programs/ViewportScrollDemo.hs
diff options
context:
space:
mode:
Diffstat (limited to 'programs/ViewportScrollDemo.hs')
-rw-r--r--programs/ViewportScrollDemo.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/programs/ViewportScrollDemo.hs b/programs/ViewportScrollDemo.hs
index 1cd992f..3d9c4e0 100644
--- a/programs/ViewportScrollDemo.hs
+++ b/programs/ViewportScrollDemo.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP #-}
{-# LANGUAGE OverloadedStrings #-}
module Main where
@@ -6,7 +7,9 @@ import Control.Applicative
#endif
import Control.Monad (void)
+#if !(MIN_VERSION_base(4,11,0))
import Data.Monoid ((<>))
+#endif
import qualified Graphics.Vty as V
import qualified Brick.Types as T