summaryrefslogtreecommitdiff
path: root/src/TextShow/Foreign/Ptr.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/TextShow/Foreign/Ptr.hs')
-rw-r--r--src/TextShow/Foreign/Ptr.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/TextShow/Foreign/Ptr.hs b/src/TextShow/Foreign/Ptr.hs
index 6200d8a..ff66d7c 100644
--- a/src/TextShow/Foreign/Ptr.hs
+++ b/src/TextShow/Foreign/Ptr.hs
@@ -22,10 +22,10 @@ import Data.Text.Lazy.Builder (Builder, singleton)
import Foreign.ForeignPtr (ForeignPtr)
import Foreign.Ptr (FunPtr, IntPtr, WordPtr, castFunPtrToPtr)
+import GHC.Exts (addr2Int#, int2Word#)
import GHC.ForeignPtr (unsafeForeignPtrToPtr)
import GHC.Num (wordToInteger)
import GHC.Ptr (Ptr(..))
-import GHC.Prim (addr2Int#, int2Word#)
import Prelude ()
import Prelude.Compat