summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2008-09-17 21:08:13 +0000
committerIan Lynagh <igloo@earth.li>2008-09-17 21:08:13 +0000
commit7bca8c45ee7efbdef91210fa5673570413539a45 (patch)
tree411d4e8f78949775fcdd147fd3fc4275f78d7b96 /utils
parent37b4749847aa928188f61f6d5c180d7b2e07d424 (diff)
downloadhaskell-7bca8c45ee7efbdef91210fa5673570413539a45.tar.gz
Wibble ghc-pkg imports to fix building on Windows
Diffstat (limited to 'utils')
-rw-r--r--utils/ghc-pkg/Main.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/utils/ghc-pkg/Main.hs b/utils/ghc-pkg/Main.hs
index 7dcc0d4806..49ac435cc2 100644
--- a/utils/ghc-pkg/Main.hs
+++ b/utils/ghc-pkg/Main.hs
@@ -35,7 +35,6 @@ import Text.PrettyPrint
import qualified Control.Exception as Exception
import Data.Maybe
-import Data.Bits
import Data.Char ( isSpace, toLower )
import Control.Monad
import System.Directory ( doesDirectoryExist, getDirectoryContents,
@@ -47,9 +46,9 @@ import System.IO.Error (try)
import Data.List
import Control.Concurrent
+import Foreign
import Foreign.C
#ifdef mingw32_HOST_OS
-import Foreign
import GHC.ConsoleHandler
#else
import System.Posix hiding (fdToHandle)