diff --git a/Text/XML.hs b/Text/XML.hs
--- a/Text/XML.hs
+++ b/Text/XML.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP #-}
 {-# LANGUAGE DeriveDataTypeable #-}
 {-# LANGUAGE FlexibleContexts #-}
 {-# LANGUAGE OverloadedStrings #-}
@@ -126,8 +127,10 @@
     }
   deriving (Show, Eq, Typeable, Data)
 
+#if MIN_VERSION_containers(0, 4, 2)
 instance NFData Document where
   rnf (Document a b c) = rnf a `seq` rnf b `seq` rnf c `seq` ()
+#endif
 
 data Node
     = NodeElement Element
@@ -136,11 +139,13 @@
     | NodeComment Text
   deriving (Show, Eq, Ord, Typeable, Data)
 
+#if MIN_VERSION_containers(0, 4, 2)
 instance NFData Node where
   rnf (NodeElement e) = rnf e `seq` ()
   rnf (NodeInstruction i) = rnf i `seq` ()
   rnf (NodeContent t) = rnf t `seq` ()
   rnf (NodeComment t) = rnf t `seq` ()
+#endif
 
 data Element = Element
     { elementName :: Name
@@ -149,8 +154,10 @@
     }
   deriving (Show, Eq, Ord, Typeable, Data)
 
+#if MIN_VERSION_containers(0, 4, 2)
 instance NFData Element where
   rnf (Element a b c) = rnf a `seq` rnf b `seq` rnf c `seq` ()
+#endif
 
 {-
 readFile :: FilePath -> ParseSettings -> IO (Either SomeException Document)
diff --git a/xml-conduit.cabal b/xml-conduit.cabal
--- a/xml-conduit.cabal
+++ b/xml-conduit.cabal
@@ -1,5 +1,5 @@
 name:            xml-conduit
-version:         1.1.0.6
+version:         1.1.0.7
 license:         BSD3
 license-file:    LICENSE
 author:          Michael Snoyman <michaels@suite-sol.com>, Aristid Breitkreuz <aristidb@googlemail.com>
