From: simonmar Date: Wed, 23 Feb 2005 10:54:52 +0000 (+0000) Subject: [project @ 2005-02-23 10:54:52 by simonmar] X-Git-Tag: Initial_conversion_from_CVS_complete~1037 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=25d3ecc4ebe5eb9a2f76f5de50496aba47e22795 [project @ 2005-02-23 10:54:52 by simonmar] more include of later: ghcautoconf.h must come before any system includes, because it might define _FILE_OFFSET_BITS. --- diff --git a/ghc/includes/mkDerivedConstants.c b/ghc/includes/mkDerivedConstants.c index 77a35bc..8587fa7 100644 --- a/ghc/includes/mkDerivedConstants.c +++ b/ghc/includes/mkDerivedConstants.c @@ -11,8 +11,6 @@ * * ------------------------------------------------------------------------*/ -#include - #define IN_STG_CODE 0 // We need offsets of profiled things... better be careful that this @@ -23,6 +21,8 @@ #include "RtsFlags.h" #include "Storage.h" +#include + #define str(a,b) #a "_" #b #define OFFSET(s_type, field) ((unsigned int)&(((s_type*)0)->field))