diff --git a/bzlib.cabal b/bzlib.cabal
--- a/bzlib.cabal
+++ b/bzlib.cabal
@@ -1,5 +1,5 @@
 name:            bzlib
-version:         0.5.0.3
+version:         0.5.0.4
 copyright:       (c) 2006-2011 Duncan Coutts
 license:         BSD3
 license-file:    LICENSE
@@ -31,7 +31,7 @@
   other-modules:   Codec.Compression.BZip.Stream
   extensions:      CPP, ForeignFunctionInterface
   build-depends:   base >= 3 && < 5,
-                   bytestring == 0.9.*
+                   bytestring == 0.9.* || == 0.10.*
   includes:        bzlib.h
   ghc-options:     -Wall
   if !os(windows)
