diff --git a/Crypto/Classes.hs b/Crypto/Classes.hs
--- a/Crypto/Classes.hs
+++ b/Crypto/Classes.hs
@@ -50,7 +50,7 @@
 import Crypto.Random
 import System.IO.Unsafe (unsafePerformIO)
 import Foreign (Ptr)
-import Foreign.C (CChar, CInt)
+import Foreign.C (CChar(..), CInt(..))
 import System.Entropy
 
 -- |The Hash class is intended as the generic interface
diff --git a/crypto-api.cabal b/crypto-api.cabal
--- a/crypto-api.cabal
+++ b/crypto-api.cabal
@@ -1,5 +1,5 @@
 name:           crypto-api
-version:        0.10.1
+version:        0.10.2
 license:        BSD3
 license-file:   LICENSE
 copyright:      Thomas DuBuisson <thomas.dubuisson@gmail.com>, Francisco Blas Izquierdo Riera (klondike) (see AUTHORS)
@@ -31,7 +31,7 @@
 
 Library
   Build-Depends: base == 4.*,
-                 bytestring >= 0.9 && < 0.10,
+                 bytestring >= 0.9 && < 0.11,
                  cereal >= 0.2 && < 0.4,
                  tagged >= 0.1 && < 0.5,
                  largeword >= 1.0.0, array, entropy
