diff options
author | Ömer Sinan Ağacan <omeragacan@gmail.com> | 2020-04-26 11:05:10 +0300 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-04-26 13:55:22 -0400 |
commit | 22bf5c738e0339fa12940414d6448896c6733808 (patch) | |
tree | 3f8d0e2aa4a38d853f38fcc7068b4362c7e1d6b1 /rts/sm/Compact.c | |
parent | cd4434c8e77213bf3e6f83227fd8802c9f2a6fe2 (diff) | |
download | haskell-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.c | 1 |
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) |