From: sof Date: Thu, 18 Jul 2002 06:05:31 +0000 (+0000) Subject: [project @ 2002-07-18 06:05:29 by sof] X-Git-Tag: Approx_11550_changesets_converted~1837 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=542dd0c2a980156cd6dbdc07e3443c9dc0e7b421;hp=f9e19f4f59712ead9bc5b2b9c411659285375f7c;p=ghc-hetmet.git [project @ 2002-07-18 06:05:29 by sof] more include tweaking --- diff --git a/ghc/rts/Adjustor.c b/ghc/rts/Adjustor.c index 0fa9bfe..84ace23 100644 --- a/ghc/rts/Adjustor.c +++ b/ghc/rts/Adjustor.c @@ -40,6 +40,7 @@ Haskell side. #include "Rts.h" #include "RtsUtils.h" #include "RtsFlags.h" +#include /* Heavily arch-specific, I'm afraid.. */ diff --git a/ghc/rts/Linker.c b/ghc/rts/Linker.c index e6bcb7e..f742749 100644 --- a/ghc/rts/Linker.c +++ b/ghc/rts/Linker.c @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: Linker.c,v 1.99 2002/07/17 08:26:44 simonmar Exp $ + * $Id: Linker.c,v 1.100 2002/07/18 06:05:29 sof Exp $ * * (c) The GHC Team, 2000, 2001 * @@ -62,6 +62,7 @@ #elif defined(cygwin32_TARGET_OS) || defined (mingw32_TARGET_OS) # define OBJFORMAT_PEi386 # include +# include #elif defined(darwin_TARGET_OS) # define OBJFORMAT_MACHO # include diff --git a/ghc/rts/Main.c b/ghc/rts/Main.c index 49a681f..0413168 100644 --- a/ghc/rts/Main.c +++ b/ghc/rts/Main.c @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: Main.c,v 1.34 2002/02/13 08:48:06 sof Exp $ + * $Id: Main.c,v 1.35 2002/07/18 06:05:30 sof Exp $ * * (c) The GHC Team 1998-2000 * @@ -16,6 +16,7 @@ #include "RtsFlags.h" #include "RtsUtils.h" #include "Prelude.h" +#include #ifdef DEBUG # include "Printer.h" /* for printing */ diff --git a/ghc/rts/StgMiscClosures.hc b/ghc/rts/StgMiscClosures.hc index 50530c3..38f66c6 100644 --- a/ghc/rts/StgMiscClosures.hc +++ b/ghc/rts/StgMiscClosures.hc @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: StgMiscClosures.hc,v 1.76 2002/04/19 10:22:58 simonmar Exp $ + * $Id: StgMiscClosures.hc,v 1.77 2002/07/18 06:05:30 sof Exp $ * * (c) The GHC Team, 1998-2000 * @@ -23,8 +23,8 @@ # include "StgRun.h" /* for StgReturn and register saving */ #endif -#ifdef HAVE_STDIO_H -#include +#ifdef HAVE_STDLIB_H +#include #endif /* ToDo: make the printing of panics more win32-friendly, i.e., diff --git a/ghc/rts/hooks/NoRunnableThreads.c b/ghc/rts/hooks/NoRunnableThreads.c index c5acd2e..dd33f79 100644 --- a/ghc/rts/hooks/NoRunnableThreads.c +++ b/ghc/rts/hooks/NoRunnableThreads.c @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: NoRunnableThreads.c,v 1.3 2002/07/17 09:21:51 simonmar Exp $ + * $Id: NoRunnableThreads.c,v 1.4 2002/07/18 06:05:31 sof Exp $ * * User-overridable RTS hooks. * @@ -8,6 +8,7 @@ #include "Rts.h" #include +#include /* Hook to invoke when there's nothing left on the runnable threads