From: Simon Marlow Date: Wed, 10 Oct 2007 15:32:44 +0000 (+0000) Subject: we need to #include "Stg.h" first, we can't rely on GHC to inject it X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=53d57aa3aa498120eb1beba1b9c30e6a5e4e2d0a we need to #include "Stg.h" first, we can't rely on GHC to inject it This fixes the unreg build, and in general building the RTS code via-C. I'm not sure at what stage this was broken, but I think it was working accidentally before. --- diff --git a/rts/HCIncludes.h b/rts/HCIncludes.h index e74114b..38ca34a 100644 --- a/rts/HCIncludes.h +++ b/rts/HCIncludes.h @@ -1,4 +1,5 @@ /* includes for compiling .cmm files via-C */ +#include "Stg.h" #include "Rts.h" #include "RtsFlags.h" #include "RtsUtils.h"