diff --git a/Web/Cookie.hs b/Web/Cookie.hs
--- a/Web/Cookie.hs
+++ b/Web/Cookie.hs
@@ -51,7 +51,7 @@
 import Data.Text.Encoding.Error (lenientDecode)
 import Control.Arrow ((***))
 import Data.Maybe (isJust)
-import Data.Default (Default (def))
+import Data.Default.Class (Default (def))
 import Control.DeepSeq (NFData (rnf))
 
 -- | Textual cookies. Functions assume UTF8 encoding.
diff --git a/cookie.cabal b/cookie.cabal
--- a/cookie.cabal
+++ b/cookie.cabal
@@ -1,5 +1,5 @@
 name:            cookie
-version:         0.4.1.4
+version:         0.4.1.5
 license:         BSD3
 license-file:    LICENSE
 author:          Michael Snoyman <michael@snoyman.com>
@@ -18,7 +18,7 @@
                    , old-locale                >= 1
                    , time                      >= 1.1.4
                    , text                      >= 0.7
-                   , data-default
+                   , data-default-class
                    , deepseq
     exposed-modules: Web.Cookie
     ghc-options:     -Wall
