summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ghc/compiler/parser/hschooks.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ghc/compiler/parser/hschooks.c b/ghc/compiler/parser/hschooks.c
index 7b4f82b51b..cca3002fc5 100644
--- a/ghc/compiler/parser/hschooks.c
+++ b/ghc/compiler/parser/hschooks.c
@@ -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