diff --git a/src/System/Terminfo.hs b/src/System/Terminfo.hs
--- a/src/System/Terminfo.hs
+++ b/src/System/Terminfo.hs
@@ -70,7 +70,7 @@
 import System.Terminfo.Internal (terminfoDBLocs)
 import System.Terminfo.Caps
 
-#if MIN_VERSION_base(4,8,0)
+#if MIN_VERSION_errors(2,0,0)
 except :: m (Either e a) -> ExceptT e m a
 except = ExceptT
 #else
diff --git a/terminfo-hs.cabal b/terminfo-hs.cabal
--- a/terminfo-hs.cabal
+++ b/terminfo-hs.cabal
@@ -1,5 +1,5 @@
 name: terminfo-hs
-version: 0.2.0
+version: 0.2.1
 synopsis: A pure-Haskell (no FFI) module for accessing terminfo databases
 description:
     This module can acquire terminfo databases and query them for terminal
@@ -24,7 +24,7 @@
 
 source-repository this
   type: git
-  tag: 0.2.0
+  tag: 0.2.1
   location: https://github.com/chreekat/terminfo-hs.git
 
 library
@@ -34,7 +34,7 @@
                    System.Terminfo.Internal
   other-modules: System.Terminfo.DBParse,
                  System.Terminfo.Types
-  build-depends: base <= 4.8,
+  build-depends: base < 5,
                  errors,
                  bytestring,
                  directory,
