[project @ 2005-02-23 10:57:52 by simonmar]
[ghc-hetmet.git] / ghc / compiler / parser / hschooks.c
index 17c11fa..cca3002 100644 (file)
@@ -4,8 +4,6 @@ for various bits of the RTS.  They are linked
 in instead of the defaults.
 */
 
-#include <string.h>
-
 /* For GHC 4.08, we are relying on the fact that RtsFlags has
  * compatibile layout with the current version, because we're
  * #including the current version of RtsFlags.h below.  4.08 didn't
@@ -22,6 +20,8 @@ in instead of the defaults.
 
 #include "HsFFI.h"
 
+#include <string.h>
+
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>
 #endif
@@ -62,7 +62,7 @@ OutOfHeapHook (unsigned long request_size/* always zero these days */,
               unsigned long heap_size)
     /* both in bytes */
 {
-    fprintf(stderr, "GHC's heap exhausted: current limit is %lu bytes;\nUse the `-H<size>' option to increase the total heap size.\n",
+    fprintf(stderr, "GHC's heap exhausted: current limit is %lu bytes;\nUse the `-M<size>' option to increase the total heap size.\n",
        heap_size);
 }