projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25d3ecc
)
[project @ 2005-02-23 10:57:52 by simonmar]
author
simonmar
<unknown>
Wed, 23 Feb 2005 10:57:52 +0000
(10:57 +0000)
committer
simonmar
<unknown>
Wed, 23 Feb 2005 10:57:52 +0000
(10:57 +0000)
Move include of <string.h> later
ghc/compiler/parser/hschooks.c
patch
|
blob
|
history
diff --git
a/ghc/compiler/parser/hschooks.c
b/ghc/compiler/parser/hschooks.c
index
7b4f82b
..
cca3002
100644
(file)
--- 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