summaryrefslogtreecommitdiff
path: root/compiler/utils/StringBuffer.lhs
diff options
context:
space:
mode:
authorDavid Terei <davidterei@gmail.com>2011-05-31 13:44:04 -0700
committerDavid Terei <davidterei@gmail.com>2011-06-17 20:40:18 -0700
commit83d2f75bcde40e24921b19150ba4ecac3fb679c3 (patch)
treeab52df8b63b9c3af78dd060fe9a8e2c2569dee5b /compiler/utils/StringBuffer.lhs
parentd9965c117a24dfe47c55e2b00d18359c2ef896d3 (diff)
downloadhaskell-83d2f75bcde40e24921b19150ba4ecac3fb679c3.tar.gz
SafeHaskell: Even more fixing to work with safe base
Diffstat (limited to 'compiler/utils/StringBuffer.lhs')
-rw-r--r--compiler/utils/StringBuffer.lhs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/utils/StringBuffer.lhs b/compiler/utils/StringBuffer.lhs
index 5d1bfa6086..1ad4879ef8 100644
--- a/compiler/utils/StringBuffer.lhs
+++ b/compiler/utils/StringBuffer.lhs
@@ -51,6 +51,7 @@ import FastFunctions
import Foreign
import System.IO ( hGetBuf, hFileSize,IOMode(ReadMode), hClose
, Handle, hTell )
+import System.IO.Unsafe ( unsafePerformIO )
import GHC.Exts