summaryrefslogtreecommitdiff
path: root/ghc
diff options
context:
space:
mode:
authorÖmer Sinan Ağacan <omeragacan@gmail.com>2019-06-26 14:25:30 +0300
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-07-02 16:19:59 -0400
commit60b9eab9ffa7560334ef886ae1a0461d55a95f9a (patch)
tree40e8e71abb9b48572a5f6afc52c9c194f7037f06 /ghc
parent294b55dcff51fb9e419889d7262c7f053c919623 (diff)
downloadhaskell-60b9eab9ffa7560334ef886ae1a0461d55a95f9a.tar.gz
Fix stage 1 warnings
Diffstat (limited to 'ghc')
-rw-r--r--ghc/Main.hs5
1 files changed, 4 insertions, 1 deletions
diff --git a/ghc/Main.hs b/ghc/Main.hs
index ce0aaec6e9..614b45f277 100644
--- a/ghc/Main.hs
+++ b/ghc/Main.hs
@@ -31,11 +31,14 @@ import GHCi.UI ( interactiveUI, ghciWelcomeMsg, defaultGhciSettings )
-- Frontend plugins
#if defined(HAVE_INTERPRETER)
-import DynamicLoading ( loadFrontendPlugin, initializePlugins )
+import DynamicLoading ( loadFrontendPlugin )
import Plugins
#else
import DynamicLoading ( pluginError )
#endif
+#if defined(HAVE_INTERNAL_INTERPRETER)
+import DynamicLoading ( initializePlugins )
+#endif
import Module ( ModuleName )