We should be including Rts.h here, not Stg.h
authorSimon Marlow <marlowsd@gmail.com>
Fri, 12 Sep 2008 13:49:01 +0000 (13:49 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Fri, 12 Sep 2008 13:49:01 +0000 (13:49 +0000)
Stg.h is for .hc files only, and it sets up various global register
variables.

cbits/PrelIOUtils.c

index be97876..de7fed4 100644 (file)
@@ -7,7 +7,7 @@
 #define INLINE
 
 #ifdef __GLASGOW_HASKELL__
-# include "Stg.h"
+# include "Rts.h"
 #endif
 
 #include "HsBase.h"