diff --git a/hdaemonize.cabal b/hdaemonize.cabal
--- a/hdaemonize.cabal
+++ b/hdaemonize.cabal
@@ -1,5 +1,5 @@
 Name:		hdaemonize
-Version:	0.5.0.1
+Version:	0.5.0.2
 Cabal-Version:  >= 1.6
 License:	BSD3
 License-file:   LICENSE
@@ -17,7 +17,12 @@
 Extra-Source-Files:	README
 
 Library
-  Build-Depends:	base >= 4 && < 5, unix, hsyslog, extensible-exceptions, filepath, mtl
+  Build-Depends:    base >= 4 && < 5
+                  , unix
+                  , hsyslog < 3
+                  , extensible-exceptions
+                  , filepath
+                  , mtl
   Exposed-modules:      System.Posix.Daemonize
   Extensions:           CPP
   if impl(ghc > 6.12)
