diff --git a/ghc/lib/exts/ByteArray.lhs b/ghc/lib/exts/ByteArray.lhs
index 504b2eb2a4bbb06348d6b1fb621fd80b73d8ad88..60c9fedd1fc9a9da6c294f9d66c80d382b6dcc48 100644
--- a/ghc/lib/exts/ByteArray.lhs
+++ b/ghc/lib/exts/ByteArray.lhs
@@ -26,6 +26,7 @@ module ByteArray
 import PrelArr
 import PrelBase
 import PrelForeign
+import PrelStable
 import Ix
 \end{code}