Make sure to #include Stable.h in Linker.c
authorAustin Seipp <austin@well-typed.com>
Fri, 25 Oct 2013 13:37:42 +0000 (08:37 -0500)
committerAustin Seipp <austin@well-typed.com>
Fri, 25 Oct 2013 14:14:30 +0000 (09:14 -0500)
It needs freeStablePtr, which tripped my validate build, due to an
implicit declaration warning. I'm quite surprised this somehow did not
trip the build before.

Signed-off-by: Austin Seipp <austin@well-typed.com>
rts/Linker.c

index c52b0f9..7ef33bc 100644 (file)
@@ -29,6 +29,7 @@
 #include "StgPrimFloat.h" // for __int_encodeFloat etc.
 #include "Proftimer.h"
 #include "GetEnv.h"
+#include "Stable.h"
 
 #if !defined(mingw32_HOST_OS)
 #include "posix/Signals.h"