avoid more build warnings on Windows

This commit is contained in:
Joey Hess 2013-08-04 13:54:09 -04:00
parent fc96861084
commit a3224ce35b
12 changed files with 29 additions and 20 deletions

View file

@ -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.