summaryrefslogtreecommitdiff
path: root/rts/RetainerProfile.c
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2014-02-20 03:17:27 -0600
committerAustin Seipp <austin@well-typed.com>2014-02-20 03:17:46 -0600
commit925b0a499dba8a891af06f1bd3f5caf063682b0b (patch)
treebcd2f1458b144dbd417c58a9c70a47e2f7c596bc /rts/RetainerProfile.c
parentd3af9807ca8a1db0bc9298ea50895ee9df55edb7 (diff)
downloadhaskell-925b0a499dba8a891af06f1bd3f5caf063682b0b.tar.gz
RetainerProfile.c: include missing header (#8810)
Found by clang: rts_dist_HC rts/dist/build/RetainerProfile.p_o rts/RetainerProfile.c:1779:5: error: implicit declaration of function 'markStableTables' is invalid in C99 [-Werror,-Wimplicit-function-declaration] markStableTables(retainRoot, NULL); Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> Signed-off-by: Austin Seipp <austin@well-typed.com>
Diffstat (limited to 'rts/RetainerProfile.c')
-rw-r--r--rts/RetainerProfile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/rts/RetainerProfile.c b/rts/RetainerProfile.c
index 8cf88487f2..973e03bd1a 100644
--- a/rts/RetainerProfile.c
+++ b/rts/RetainerProfile.c
@@ -30,6 +30,7 @@
#include "Stats.h"
#include "ProfHeap.h"
#include "Apply.h"
+#include "Stable.h" /* markStableTables */
#include "sm/Storage.h" // for END_OF_STATIC_LIST
/*