diff options
author | Joey Hess <joey@kitenet.net> | 2013-05-11 18:23:41 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-05-11 18:23:41 -0400 |
commit | 618af8b6772d25ab27336d240ecddae7ae207561 (patch) | |
tree | 9e48ea32c7cbe11603ab599b5e0616457cd4de4e /Utility/FileMode.hs | |
parent | db56fab07ddd6910b1dc08f4fa242c267c469eb5 (diff) |
clean up from windows porting
Diffstat (limited to 'Utility/FileMode.hs')
-rwxr-xr-x | Utility/FileMode.hs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Utility/FileMode.hs b/Utility/FileMode.hs index e9701d967..47247e2a1 100755 --- a/Utility/FileMode.hs +++ b/Utility/FileMode.hs @@ -12,9 +12,10 @@ module Utility.FileMode where import Common import Control.Exception (bracket) -import Utility.Exception import System.PosixCompat.Types -import System.PosixCompat.Files +#ifndef __WINDOWS__ +import System.Posix.Files +#endif import Foreign (complement) {- Applies a conversion function to a file's mode. -} |