RetainerProfile.c: include missing header (#8810)
authorSergei Trofimovich <slyfox@gentoo.org>
Thu, 20 Feb 2014 09:17:27 +0000 (03:17 -0600)
committerAustin Seipp <austin@well-typed.com>
Thu, 20 Feb 2014 09:17:46 +0000 (03:17 -0600)
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>
rts/RetainerProfile.c

index 8cf8848..973e03b 100644 (file)
@@ -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
 
 /*