From 453ce626a32cab3728a640b2299eaeeb30da8862 Mon Sep 17 00:00:00 2001 From: David Terei Date: Wed, 19 Nov 2014 18:00:11 -0800 Subject: Update Foreign.* for Safe Haskell now that they're safe by default --- ghc/InteractiveUI.hs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ghc') diff --git a/ghc/InteractiveUI.hs b/ghc/InteractiveUI.hs index 7fdda0b0fd..503811731d 100644 --- a/ghc/InteractiveUI.hs +++ b/ghc/InteractiveUI.hs @@ -81,7 +81,11 @@ import Data.Maybe import Exception hiding (catch) import Foreign.C +#if __GLASGOW_HASKELL__ >= 709 +import Foreign +#else import Foreign.Safe +#endif import System.Directory import System.Environment -- cgit v1.2.1