From 25d3ecc4ebe5eb9a2f76f5de50496aba47e22795 Mon Sep 17 00:00:00 2001 From: simonmar Date: Wed, 23 Feb 2005 10:54:52 +0000 Subject: [PATCH] [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. --- ghc/includes/mkDerivedConstants.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)) -- 1.7.10.4