From ea5b917e4d442d46bb35cf509cd130d0e4c6add0 Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Fri, 12 Sep 2008 13:49:01 +0000 Subject: [PATCH] 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. --- cbits/PrelIOUtils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 1.7.10.4