summaryrefslogtreecommitdiff
path: root/includes/rts/storage/Closures.h
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-10-21 23:21:01 +0000
committerBen Gamari <ben@smart-cactus.org>2019-10-22 12:13:36 -0400
commit06d51c4ef776ee1bf66e3603b4c6e4e2acf8ba3c (patch)
treedec20251f027a9aba915f706c077c20c6fe5b062 /includes/rts/storage/Closures.h
parent17e5a032a66bc043b453727706d4fa95a7951202 (diff)
downloadhaskell-wip/gc/nonmoving-concurrent.tar.gz
Fix unregisterised buildwip/gc/nonmoving-concurrent
This required some fiddling around with the location of forward declarations since the C sources generated by GHC's C backend only includes Stg.h.
Diffstat (limited to 'includes/rts/storage/Closures.h')
-rw-r--r--includes/rts/storage/Closures.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/rts/storage/Closures.h b/includes/rts/storage/Closures.h
index 6088fc8a10..b2b5eda407 100644
--- a/includes/rts/storage/Closures.h
+++ b/includes/rts/storage/Closures.h
@@ -94,7 +94,7 @@ typedef struct StgClosure_ {
struct StgClosure_ *payload[];
} *StgClosurePtr; // StgClosure defined in rts/Types.h
-typedef struct {
+typedef struct StgThunk_ {
StgThunkHeader header;
struct StgClosure_ *payload[];
} StgThunk;