[project @ 2001-12-21 15:07:20 by simonmar]
[ghc-base.git] / cbits / writeError.c
index e4f0247..2ab4ce9 100644 (file)
@@ -1,7 +1,7 @@
 /* 
  * (c) The GRASP/AQUA Project, Glasgow University, 1998
  *
- * $Id: writeError.c,v 1.2 2001/07/31 11:51:09 simonmar Exp $
+ * $Id: writeError.c,v 1.3 2001/12/21 15:07:26 simonmar Exp $
  *
  * hPutStr Runtime Support
  */
@@ -20,8 +20,10 @@ implementation in one or two places.)
 #include "RtsUtils.h"
 #include "HsCore.h"
 
+#include "PrelIOUtils.h"
+
 void
-writeErrString__ (HsAddr msg_hdr, HsAddr msg, HsInt len)
+writeErrString__(HsAddr msg_hdr, HsAddr msg, HsInt len)
 {
   int count = 0;
   char* p  = (char*)msg;