From b013eb356b0af840580638275cef67ddf682d844 Mon Sep 17 00:00:00 2001
From: sof <unknown>
Date: Tue, 18 Aug 1998 13:36:58 +0000
Subject: [PATCH] [project @ 1998-08-18 13:36:58 by sof] 3.03 update: Foreign
 now exports ForeignObj abstractly..

---
 ghc/compiler/utils/PrimPacked.lhs | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/ghc/compiler/utils/PrimPacked.lhs b/ghc/compiler/utils/PrimPacked.lhs
index cf36882936ba..2578d4aba134 100644
--- a/ghc/compiler/utils/PrimPacked.lhs
+++ b/ghc/compiler/utils/PrimPacked.lhs
@@ -34,6 +34,10 @@ import GlaExts
 import Addr	( Addr(..) )
 import ST
 import Foreign
+-- ForeignObj is now exported abstractly.
+#if __GLASGOW_HASKELL__ >= 303
+import PrelForeign   ( ForeignObj(..) )
+#endif
 
 #if __GLASGOW_HASKELL__ < 301
 import ArrBase  	( StateAndMutableByteArray#(..), 
-- 
GitLab