diff -Nru haskell-xml-conduit-writer-0.1.1.4/debian/changelog haskell-xml-conduit-writer-0.1.1.4/debian/changelog
--- haskell-xml-conduit-writer-0.1.1.4/debian/changelog	2023-10-09 06:04:48.000000000 +0800
+++ haskell-xml-conduit-writer-0.1.1.4/debian/changelog	2024-10-20 19:55:46.000000000 +0800
@@ -1,3 +1,9 @@
+haskell-xml-conduit-writer (0.1.1.4-1.1) UNRELEASED; urgency=medium
+
+  * Import needed moudle 'Control.Monad (when)' 
+
+ -- Gui-Yue <yuemeng.gui@gmail.com>  Sun, 20 Oct 2024 19:55:46 +0800
+
 haskell-xml-conduit-writer (0.1.1.4-1) unstable; urgency=medium
 
   [ Ilias Tsitsimpis ]
diff -Nru haskell-xml-conduit-writer-0.1.1.4/debian/patches/Import_Needed_Moudle.patch haskell-xml-conduit-writer-0.1.1.4/debian/patches/Import_Needed_Moudle.patch
--- haskell-xml-conduit-writer-0.1.1.4/debian/patches/Import_Needed_Moudle.patch	1970-01-01 08:00:00.000000000 +0800
+++ haskell-xml-conduit-writer-0.1.1.4/debian/patches/Import_Needed_Moudle.patch	2024-10-20 19:55:38.000000000 +0800
@@ -0,0 +1,10 @@
+--- a/src/Text/XML/Writer.hs
++++ b/src/Text/XML/Writer.hs
+@@ -36,6 +36,7 @@
+     ) where
+ 
+ import Text.XML
++import Control.Monad (when)
+ import Control.Monad.Writer.Strict
+ import Data.Default ()
+ import qualified Data.DList as DL
diff -Nru haskell-xml-conduit-writer-0.1.1.4/debian/patches/series haskell-xml-conduit-writer-0.1.1.4/debian/patches/series
--- haskell-xml-conduit-writer-0.1.1.4/debian/patches/series	1970-01-01 08:00:00.000000000 +0800
+++ haskell-xml-conduit-writer-0.1.1.4/debian/patches/series	2024-10-20 19:54:46.000000000 +0800
@@ -0,0 +1 @@
+Import_Needed_Moudle.patch
