summaryrefslogtreecommitdiff
path: root/ghc/compiler/parser
diff options
context:
space:
mode:
authorsimonmar <unknown>2005-02-23 10:57:52 +0000
committersimonmar <unknown>2005-02-23 10:57:52 +0000
commitaafc20f801e42f218f2537a97b5609445129254d (patch)
tree92a460fed12e50fe24f91ee115b9eba7ff9cf6c9 /ghc/compiler/parser
parent25d3ecc4ebe5eb9a2f76f5de50496aba47e22795 (diff)
downloadhaskell-aafc20f801e42f218f2537a97b5609445129254d.tar.gz
[project @ 2005-02-23 10:57:52 by simonmar]
Move include of <string.h> later
Diffstat (limited to 'ghc/compiler/parser')
-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