summaryrefslogtreecommitdiff
path: root/libraries/base/GHC/Event/Poll.hsc
diff options
context:
space:
mode:
authorReid Barton <rwbarton@gmail.com>2014-07-06 16:34:32 -0400
committerReid Barton <rwbarton@gmail.com>2014-07-06 16:34:32 -0400
commitfa8553de237a2f91f8551d69ef604c1d8a007b5f (patch)
treef25dafa91a1840443bde8aed573eb745ee0ea633 /libraries/base/GHC/Event/Poll.hsc
parent7cf25894678195fb9ffb7124afc066d91fdd363f (diff)
downloadhaskell-fa8553de237a2f91f8551d69ef604c1d8a007b5f.tar.gz
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.
Diffstat (limited to 'libraries/base/GHC/Event/Poll.hsc')
-rw-r--r--libraries/base/GHC/Event/Poll.hsc1
1 files changed, 1 insertions, 0 deletions
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"