From: Simon Marlow Date: Fri, 12 Sep 2008 13:49:01 +0000 (+0000) Subject: We should be including Rts.h here, not Stg.h X-Git-Tag: 6_10_branch_has_been_forked~2 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=ea5b917e4d442d46bb35cf509cd130d0e4c6add0;p=ghc-base.git We should be including Rts.h here, not Stg.h Stg.h is for .hc files only, and it sets up various global register variables. --- diff --git a/cbits/PrelIOUtils.c b/cbits/PrelIOUtils.c index be97876..de7fed4 100644 --- a/cbits/PrelIOUtils.c +++ b/cbits/PrelIOUtils.c @@ -7,7 +7,7 @@ #define INLINE #ifdef __GLASGOW_HASKELL__ -# include "Stg.h" +# include "Rts.h" #endif #include "HsBase.h"