X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Frts%2FSchedule.c;h=e3100efde6d551a8e4e926e23585699ecc8ac858;hb=3ddfe34ba0b8b1c0721841c73d0c671e43a600ac;hp=fa7ce4136404c7ac1b470fddec52b9b2acb10b2d;hpb=c5508be61494a32be0a78051041f53766c58cfc5;p=ghc-hetmet.git diff --git a/ghc/rts/Schedule.c b/ghc/rts/Schedule.c index fa7ce41..e3100ef 100644 --- a/ghc/rts/Schedule.c +++ b/ghc/rts/Schedule.c @@ -1,5 +1,5 @@ /* --------------------------------------------------------------------------- - * $Id: Schedule.c,v 1.50 2000/03/13 09:57:16 simonmar Exp $ + * $Id: Schedule.c,v 1.52 2000/03/14 09:55:05 simonmar Exp $ * * (c) The GHC Team, 1998-2000 * @@ -72,6 +72,7 @@ #include "Sanity.h" #include "Stats.h" #include "Sparks.h" +#include "Prelude.h" #if defined(GRAN) || defined(PAR) # include "GranSimRts.h" # include "GranSim.h" @@ -1621,7 +1622,7 @@ threadStackOverflow(StgTSO *tso) exit(1); #else /* Send this thread the StackOverflow exception */ - raiseAsync(tso, (StgClosure *)&stackOverflow_closure); + raiseAsync(tso, (StgClosure *)stackOverflow_closure); #endif return tso; }