[project @ 2005-12-13 12:42:51 by simonmar]
[ghc-hetmet.git] / ghc / compiler / parser / hschooks.c
index 7b4f82b..5c1f023 100644 (file)
@@ -4,10 +4,8 @@ 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
+ * compatible layout with the current version, because we're
  * #including the current version of RtsFlags.h below.  4.08 didn't
  * ship with its own RtsFlags.h, unfortunately.   For later GHC
  * versions, we #include the correct RtsFlags.h.
@@ -22,6 +20,8 @@ in instead of the defaults.
 
 #include "HsFFI.h"
 
+#include <string.h>
+
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>
 #endif