don't import all of System.Posix.Files
This avoid a build problem when different versions of posix and posixcompat are used. Does not normally happen as cabal prevents that, but this is sometimes used with ghc --make which can get into that situation.
This commit is contained in:
parent
66cb41b0b3
commit
ac228fa723
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ import Control.Monad
|
|||
import System.PosixCompat.Types
|
||||
import System.PosixCompat.Files
|
||||
#ifndef mingw32_HOST_OS
|
||||
import System.Posix.Files
|
||||
import System.Posix.Files (symbolicLinkMode)
|
||||
import Control.Monad.IO.Class (liftIO)
|
||||
#endif
|
||||
import Control.Monad.IO.Class (MonadIO)
|
||||
|
|
Loading…
Reference in a new issue