summaryrefslogtreecommitdiff
path: root/Utility/Daemon.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Utility/Daemon.hs')
-rw-r--r--Utility/Daemon.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Utility/Daemon.hs b/Utility/Daemon.hs
index 124005795..2f942769a 100644
--- a/Utility/Daemon.hs
+++ b/Utility/Daemon.hs
@@ -10,13 +10,14 @@
module Utility.Daemon where
import Common
+#ifndef mingw32_HOST_OS
import Utility.LogFile
+#endif
#ifndef mingw32_HOST_OS
import System.Posix
#else
import System.PosixCompat
-import System.Posix.Types
#endif
{- Run an action as a daemon, with all output sent to a file descriptor.