further fix

This commit is contained in:
Vincent Hanquez 2015-04-05 12:32:40 +01:00
parent 6eae9b0557
commit abacea200d
2 changed files with 3 additions and 1 deletions

View File

@ -20,7 +20,6 @@ import Crypto.Internal.Memory
import Data.Byteable
import qualified Data.ByteString.Char8 as BC
import Crypto.Hash.Utils (toHex)
import Data.Word
-- | Class representing hashing algorithms.
--

View File

@ -17,6 +17,9 @@ module Crypto.Internal.Compat
import System.IO.Unsafe
#if MIN_VERSION_base(4,5,0)
import Data.Bits (popCount)
#else
import Data.Word (Word64)
import Data.Bits (testBit, shiftR)
#endif
-- | perform io for hashes that do allocation and ffi.