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:
Joey Hess 2018-07-10 12:04:49 -04:00
parent 66cb41b0b3
commit ac228fa723
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

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