[project @ 2005-02-23 10:57:52 by simonmar]
authorsimonmar <unknown>
Wed, 23 Feb 2005 10:57:52 +0000 (10:57 +0000)
committersimonmar <unknown>
Wed, 23 Feb 2005 10:57:52 +0000 (10:57 +0000)
Move include of <string.h> later

ghc/compiler/parser/hschooks.c

index 7b4f82b..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