From ed4da5734bd1c6a5e8b8617da8a5d47f70858ebc Mon Sep 17 00:00:00 2001 From: Vincent Hanquez Date: Sun, 5 Apr 2015 11:17:52 +0100 Subject: [PATCH] fix old build --- Crypto/Internal/Compat.hs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Crypto/Internal/Compat.hs b/Crypto/Internal/Compat.hs index ea53db7..97c0212 100644 --- a/Crypto/Internal/Compat.hs +++ b/Crypto/Internal/Compat.hs @@ -15,7 +15,9 @@ module Crypto.Internal.Compat ) where import System.IO.Unsafe +#if MIN_VERSION_base(4,5,0) import Data.Bits (popCount) +#endif -- | perform io for hashes that do allocation and ffi. -- unsafeDupablePerformIO is used when possible as the