[commit: ghc] master: Fix imports in GHC.Event.Poll when not HAVE_POLL_H (#9275) (fa8553d)

git at git.haskell.org git at git.haskell.org
Sun Jul 6 20:37:19 UTC 2014


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/fa8553de237a2f91f8551d69ef604c1d8a007b5f/ghc

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

commit fa8553de237a2f91f8551d69ef604c1d8a007b5f
Author: Reid Barton <rwbarton at gmail.com>
Date:   Sun Jul 6 16:34:32 2014 -0400

    Fix imports in GHC.Event.Poll when not HAVE_POLL_H (#9275)
    
    Though as far as I can tell, we can never successfully build under
    this configuration anyways: GHC.Event.TimerManager requires the Poll
    backend to be functional.


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

fa8553de237a2f91f8551d69ef604c1d8a007b5f
 libraries/base/GHC/Event/Poll.hsc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libraries/base/GHC/Event/Poll.hsc b/libraries/base/GHC/Event/Poll.hsc
index bb0b6e5..2ed25be 100644
--- a/libraries/base/GHC/Event/Poll.hsc
+++ b/libraries/base/GHC/Event/Poll.hsc
@@ -14,6 +14,7 @@ module GHC.Event.Poll
 
 #if !defined(HAVE_POLL_H)
 import GHC.Base
+import qualified GHC.Event.Internal as E
 
 new :: IO E.Backend
 new = error "Poll back end not implemented for this platform"



More information about the ghc-commits mailing list