diff options
Diffstat (limited to 'compiler/utils/FastString.lhs')
-rw-r--r-- | compiler/utils/FastString.lhs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/utils/FastString.lhs b/compiler/utils/FastString.lhs index 4d98b2bdae..c1f7973e76 100644 --- a/compiler/utils/FastString.lhs +++ b/compiler/utils/FastString.lhs @@ -118,7 +118,11 @@ import Data.List ( elemIndex ) import GHC.IO ( IO(..), unsafeDupablePerformIO ) +#if __GLASGOW_HASKELL__ >= 709 +import Foreign +#else import Foreign.Safe +#endif #if STAGE >= 2 import GHC.Conc.Sync (sharedCAF) |