diff options
Diffstat (limited to 'compiler/utils/StringBuffer.lhs')
-rw-r--r-- | compiler/utils/StringBuffer.lhs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/utils/StringBuffer.lhs b/compiler/utils/StringBuffer.lhs index d298457bdd..9e6e6c1824 100644 --- a/compiler/utils/StringBuffer.lhs +++ b/compiler/utils/StringBuffer.lhs @@ -57,7 +57,11 @@ import System.IO.Unsafe ( unsafePerformIO ) import GHC.Exts +#if __GLASGOW_HASKELL__ >= 709 +import Foreign +#else import Foreign.Safe +#endif -- ----------------------------------------------------------------------------- -- The StringBuffer type |