aboutsummaryrefslogtreecommitdiff
path: root/Utility/Daemon.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-08-04 13:54:09 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-08-04 14:05:36 -0400
commit8d2f003c63e0c1db0758e06f02b999365f8413a9 (patch)
tree1d8dbda0065630a5b1f153249ea12ce17e4e68e0 /Utility/Daemon.hs
parent6db0c4414a0afee7118a9193800b627c40968fa1 (diff)
avoid more build warnings on Windows
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.