From fa8553de237a2f91f8551d69ef604c1d8a007b5f Mon Sep 17 00:00:00 2001 From: Reid Barton Date: Sun, 6 Jul 2014 16:34:32 -0400 Subject: 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. --- libraries/base/GHC/Event/Poll.hsc | 1 + 1 file changed, 1 insertion(+) (limited to 'libraries/base/GHC') diff --git a/libraries/base/GHC/Event/Poll.hsc b/libraries/base/GHC/Event/Poll.hsc index bb0b6e570b..2ed25bec8b 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" -- cgit v1.2.1