From 00e9e15c70be8ea8ba3919a03c957a7b1a7c0946 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 3 May 2019 11:02:12 -0400 Subject: [PATCH] squelch build warning with old version of quickcheck --- Utility/QuickCheck.hs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Utility/QuickCheck.hs b/Utility/QuickCheck.hs index 55230d9dc8..a34b60abe8 100644 --- a/Utility/QuickCheck.hs +++ b/Utility/QuickCheck.hs @@ -18,7 +18,9 @@ import Test.QuickCheck as X import Data.Time.Clock.POSIX import Data.Ratio import System.Posix.Types +#if MIN_VERSION_QuickCheck(2,10,0) import Data.List.NonEmpty (NonEmpty(..)) +#endif import Prelude {- Times before the epoch are excluded. Half with decimal and half without. -}