projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
f9e19f4
)
[project @ 2002-07-18 06:05:29 by sof]
author
sof
<unknown>
Thu, 18 Jul 2002 06:05:31 +0000
(06:05 +0000)
committer
sof
<unknown>
Thu, 18 Jul 2002 06:05:31 +0000
(06:05 +0000)
more include tweaking
ghc/rts/Adjustor.c
patch
|
blob
|
history
ghc/rts/Linker.c
patch
|
blob
|
history
ghc/rts/Main.c
patch
|
blob
|
history
ghc/rts/StgMiscClosures.hc
patch
|
blob
|
history
ghc/rts/hooks/NoRunnableThreads.c
patch
|
blob
|
history
diff --git
a/ghc/rts/Adjustor.c
b/ghc/rts/Adjustor.c
index
0fa9bfe
..
84ace23
100644
(file)
--- 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 "Rts.h"
#include "RtsUtils.h"
#include "RtsFlags.h"
+#include <stdlib.h>
/* Heavily arch-specific, I'm afraid.. */
/* Heavily arch-specific, I'm afraid.. */
diff --git
a/ghc/rts/Linker.c
b/ghc/rts/Linker.c
index
e6bcb7e
..
f742749
100644
(file)
--- 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
*
*
* (c) The GHC Team, 2000, 2001
*
@@
-62,6
+62,7
@@
#elif defined(cygwin32_TARGET_OS) || defined (mingw32_TARGET_OS)
# define OBJFORMAT_PEi386
# include <windows.h>
#elif defined(cygwin32_TARGET_OS) || defined (mingw32_TARGET_OS)
# define OBJFORMAT_PEi386
# include <windows.h>
+# include <math.h>
#elif defined(darwin_TARGET_OS)
# define OBJFORMAT_MACHO
# include <mach-o/loader.h>
#elif defined(darwin_TARGET_OS)
# define OBJFORMAT_MACHO
# include <mach-o/loader.h>
diff --git
a/ghc/rts/Main.c
b/ghc/rts/Main.c
index
49a681f
..
0413168
100644
(file)
--- 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
*
*
* (c) The GHC Team 1998-2000
*
@@
-16,6
+16,7
@@
#include "RtsFlags.h"
#include "RtsUtils.h"
#include "Prelude.h"
#include "RtsFlags.h"
#include "RtsUtils.h"
#include "Prelude.h"
+#include <stdlib.h>
#ifdef DEBUG
# include "Printer.h" /* for printing */
#ifdef DEBUG
# include "Printer.h" /* for printing */
diff --git
a/ghc/rts/StgMiscClosures.hc
b/ghc/rts/StgMiscClosures.hc
index
50530c3
..
38f66c6
100644
(file)
--- 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
*
*
* (c) The GHC Team, 1998-2000
*
@@
-23,8
+23,8
@@
# include "StgRun.h" /* for StgReturn and register saving */
#endif
# include "StgRun.h" /* for StgReturn and register saving */
#endif
-#ifdef HAVE_STDIO_H
-#include <stdio.h>
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
#endif
/* ToDo: make the printing of panics more win32-friendly, i.e.,
#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
(file)
--- 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.
*
*
* User-overridable RTS hooks.
*
@@
-8,6
+8,7
@@
#include "Rts.h"
#include <stdio.h>
#include "Rts.h"
#include <stdio.h>
+#include <stdlib.h>
/*
Hook to invoke when there's nothing left on the runnable threads
/*
Hook to invoke when there's nothing left on the runnable threads