diff --git a/plugin/Compat.hs b/plugin/Compat.hs index eb4637b..ac9ee0f 100644 --- a/plugin/Compat.hs +++ b/plugin/Compat.hs @@ -28,7 +28,9 @@ import RnTypes as Compat import UniqSupply #else import GHC.Types.Basic +#if __GLASGOW_HASKELL__ < 906 import GHC.Unit.Types +#endif #if __GLASGOW_HASKELL__ < 902 import GHC.Parser.Annotation #endif