summaryrefslogtreecommitdiff
path: root/rts/sm/Compact.c
diff options
context:
space:
mode:
authorÖmer Sinan Ağacan <omeragacan@gmail.com>2020-04-26 11:05:10 +0300
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-04-26 13:55:22 -0400
commit22bf5c738e0339fa12940414d6448896c6733808 (patch)
tree3f8d0e2aa4a38d853f38fcc7068b4362c7e1d6b1 /rts/sm/Compact.c
parentcd4434c8e77213bf3e6f83227fd8802c9f2a6fe2 (diff)
downloadhaskell-22bf5c738e0339fa12940414d6448896c6733808.tar.gz
Tweak includes in non-moving GC headers
We don't use hash tables in non-moving GC so remove the includes. This breaks Compact.c as existing includes no longer include Hash.h, so include Hash.h explicitly in Compact.c.
Diffstat (limited to 'rts/sm/Compact.c')
-rw-r--r--rts/sm/Compact.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/rts/sm/Compact.c b/rts/sm/Compact.c
index d8b21b83c6..5031c535a1 100644
--- a/rts/sm/Compact.c
+++ b/rts/sm/Compact.c
@@ -27,6 +27,7 @@
#include "MarkWeak.h"
#include "StablePtr.h"
#include "StableName.h"
+#include "Hash.h"
// Turn off inlining when debugging - it obfuscates things
#if defined(DEBUG)