we need to #include "Stg.h" first, we can't rely on GHC to inject it
authorSimon Marlow <simonmar@microsoft.com>
Wed, 10 Oct 2007 15:32:44 +0000 (15:32 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Wed, 10 Oct 2007 15:32:44 +0000 (15:32 +0000)
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

index e74114b..38ca34a 100644 (file)
@@ -1,4 +1,5 @@
 /* includes for compiling .cmm files via-C */
 /* includes for compiling .cmm files via-C */
+#include "Stg.h"
 #include "Rts.h"
 #include "RtsFlags.h"
 #include "RtsUtils.h"
 #include "Rts.h"
 #include "RtsFlags.h"
 #include "RtsUtils.h"