From 53d57aa3aa498120eb1beba1b9c30e6a5e4e2d0a Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Wed, 10 Oct 2007 15:32:44 +0000 Subject: [PATCH] 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. --- rts/HCIncludes.h | 1 + 1 file changed, 1 insertion(+) 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" -- 1.7.10.4