Repository : ssh://darcs.haskell.org//srv/darcs/packages/Cabal

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/fa235038eb0821ca81927d1456c79ba61d8b289d

>---------------------------------------------------------------

commit fa235038eb0821ca81927d1456c79ba61d8b289d
Author: Duncan Coutts <[email protected]>
Date:   Mon Jan 14 14:34:56 2008 +0000

    Fix compilation on windows
    Silly #ifdefs making things harder to test.

>---------------------------------------------------------------

 cabal-install/Hackage/HttpUtils.hs |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/cabal-install/Hackage/HttpUtils.hs 
b/cabal-install/Hackage/HttpUtils.hs
index ba3d404..4dc9ee5 100644
--- a/cabal-install/Hackage/HttpUtils.hs
+++ b/cabal-install/Hackage/HttpUtils.hs
@@ -13,6 +13,7 @@ import Control.Monad (mplus)
 import Control.Exception (try)
 #ifdef WIN32
 import System.Win32.Registry (hKEY_CURRENT_USER, regOpenKey, regQueryValue, 
regCloseKey)
+import Control.Exception (bracket)
 #endif
 import System.Environment (getEnvironment)
 



_______________________________________________
Cvs-libraries mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-libraries

Reply via email to