summaryrefslogtreecommitdiff
path: root/compiler/GHC/Unit.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/Unit.hs')
-rw-r--r--compiler/GHC/Unit.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/GHC/Unit.hs b/compiler/GHC/Unit.hs
index 0de384f52c..64577d55ae 100644
--- a/compiler/GHC/Unit.hs
+++ b/compiler/GHC/Unit.hs
@@ -17,9 +17,10 @@ where
import GHC.Unit.Types
import GHC.Unit.Info
import GHC.Unit.Parser
-import GHC.Unit.State
import GHC.Unit.Module
import GHC.Unit.Home
+-- source import to avoid DynFlags import loops
+import {-# SOURCE #-} GHC.Unit.State
{-