summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsimonmar <unknown>2002-07-18 09:12:36 +0000
committersimonmar <unknown>2002-07-18 09:12:36 +0000
commitc41b6b7824ce67f0d97a316ada3482035fd4fe3d (patch)
tree91ab20ab6e72d53e5268d4b6cc5d609992a8ec8d
parent80164adadb52f16b557e283ac4cd3810848d7561 (diff)
downloadhaskell-c41b6b7824ce67f0d97a316ada3482035fd4fe3d.tar.gz
[project @ 2002-07-18 09:12:34 by simonmar]
#include wibbles
-rw-r--r--ghc/rts/ProfHeap.c4
-rw-r--r--ghc/rts/Proftimer.c4
-rw-r--r--ghc/rts/RetainerProfile.c4
-rw-r--r--ghc/rts/RetainerSet.c4
4 files changed, 12 insertions, 4 deletions
diff --git a/ghc/rts/ProfHeap.c b/ghc/rts/ProfHeap.c
index 19a1ada826..ffbbd1da82 100644
--- a/ghc/rts/ProfHeap.c
+++ b/ghc/rts/ProfHeap.c
@@ -1,5 +1,5 @@
/* -----------------------------------------------------------------------------
- * $Id: ProfHeap.c,v 1.36 2002/05/07 04:58:15 sof Exp $
+ * $Id: ProfHeap.c,v 1.37 2002/07/18 09:12:34 simonmar Exp $
*
* (c) The GHC Team, 1998-2000
*
@@ -30,6 +30,8 @@
#include "Arena.h"
#include "Printer.h"
+#include <string.h>
+
/* -----------------------------------------------------------------------------
* era stores the current time period. It is the same as the
* number of censuses that have been performed.
diff --git a/ghc/rts/Proftimer.c b/ghc/rts/Proftimer.c
index a34752e001..402539553e 100644
--- a/ghc/rts/Proftimer.c
+++ b/ghc/rts/Proftimer.c
@@ -1,5 +1,5 @@
/* -----------------------------------------------------------------------------
- * $Id: Proftimer.c,v 1.9 2001/12/12 14:31:43 simonmar Exp $
+ * $Id: Proftimer.c,v 1.10 2002/07/18 09:12:34 simonmar Exp $
*
* (c) The GHC Team, 1998-1999
*
@@ -11,6 +11,8 @@
#include "PosixSource.h"
+#include <stdio.h>
+
#include "Rts.h"
#include "Profiling.h"
#include "Itimer.h"
diff --git a/ghc/rts/RetainerProfile.c b/ghc/rts/RetainerProfile.c
index 6f3b09a9ae..5684468fd8 100644
--- a/ghc/rts/RetainerProfile.c
+++ b/ghc/rts/RetainerProfile.c
@@ -1,5 +1,5 @@
/* -----------------------------------------------------------------------------
- * $Id: RetainerProfile.c,v 1.4 2001/12/19 15:20:27 simonmar Exp $
+ * $Id: RetainerProfile.c,v 1.5 2002/07/18 09:12:35 simonmar Exp $
*
* (c) The GHC Team, 2001
* Author: Sungwoo Park
@@ -10,6 +10,8 @@
#ifdef PROFILING
+#include <stdio.h>
+
#include "Rts.h"
#include "RtsUtils.h"
#include "RetainerProfile.h"
diff --git a/ghc/rts/RetainerSet.c b/ghc/rts/RetainerSet.c
index 83e0d9feee..af776bf6ce 100644
--- a/ghc/rts/RetainerSet.c
+++ b/ghc/rts/RetainerSet.c
@@ -1,5 +1,5 @@
/* -----------------------------------------------------------------------------
- * $Id: RetainerSet.c,v 1.2 2001/11/26 16:54:21 simonmar Exp $
+ * $Id: RetainerSet.c,v 1.3 2002/07/18 09:12:36 simonmar Exp $
*
* (c) The GHC Team, 2001
* Author: Sungwoo Park
@@ -10,6 +10,8 @@
#ifdef PROFILING
+#include <stdlib.h>
+
#include "Rts.h"
#include "RtsFlags.h"
#include "Stats.h"