summaryrefslogtreecommitdiff
path: root/rts
diff options
context:
space:
mode:
authorSimon Marlow <simonmar@microsoft.com>2007-10-10 15:32:44 +0000
committerSimon Marlow <simonmar@microsoft.com>2007-10-10 15:32:44 +0000
commit53d57aa3aa498120eb1beba1b9c30e6a5e4e2d0a (patch)
treee43fd6bbd924647b36844f2f8a34914ed3a146fe /rts
parent0d8da265dadfd9170800a60a7d1a59543da5a6f5 (diff)
downloadhaskell-53d57aa3aa498120eb1beba1b9c30e6a5e4e2d0a.tar.gz
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.
Diffstat (limited to 'rts')
-rw-r--r--rts/HCIncludes.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/rts/HCIncludes.h b/rts/HCIncludes.h
index e74114bcc3..38ca34aac7 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"