[commit: ghc] master: Make sure to #include Stable.h in Linker.c (db11bfc)

git at git.haskell.org git at git.haskell.org
Fri Oct 25 14:22:33 UTC 2013


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/db11bfcbd611a99da6ea9229ad8bdcaa811593a9/ghc

>---------------------------------------------------------------

commit db11bfcbd611a99da6ea9229ad8bdcaa811593a9
Author: Austin Seipp <austin at well-typed.com>
Date:   Fri Oct 25 08:37:42 2013 -0500

    Make sure to #include Stable.h in Linker.c
    
    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 at well-typed.com>


>---------------------------------------------------------------

db11bfcbd611a99da6ea9229ad8bdcaa811593a9
 rts/Linker.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/rts/Linker.c b/rts/Linker.c
index c52b0f9..7ef33bc 100644
--- a/rts/Linker.c
+++ b/rts/Linker.c
@@ -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"



More information about the ghc-commits mailing list