diff --git a/ghc/rts/Main.c b/ghc/rts/Main.c
index 990c9ebb9cb8de54c846f6c3d10e785244033452..7c16989bf7f3510c69db395261b6bf527396253f 100644
--- a/ghc/rts/Main.c
+++ b/ghc/rts/Main.c
@@ -1,5 +1,5 @@
 /* -----------------------------------------------------------------------------
- * $Id: Main.c,v 1.8 1999/05/10 10:06:24 sof Exp $
+ * $Id: Main.c,v 1.9 1999/07/06 15:05:49 sof Exp $
  *
  * (c) The GHC Team 1998-1999
  *
@@ -11,6 +11,7 @@
 
 #include "Rts.h"
 #include "RtsAPI.h"
+#include "SchedAPI.h"
 #include "RtsFlags.h"
 #include "Schedule.h"  /* for MainTSO */
 #include "RtsUtils.h"
diff --git a/ghc/rts/Weak.c b/ghc/rts/Weak.c
index 60325199cc49dba30d7d7c3d830906ed4dda538f..4f8159f813533409afb40dfa11c03de0c9597108 100644
--- a/ghc/rts/Weak.c
+++ b/ghc/rts/Weak.c
@@ -1,5 +1,5 @@
 /* -----------------------------------------------------------------------------
- * $Id: Weak.c,v 1.10 1999/02/26 13:36:14 simonm Exp $
+ * $Id: Weak.c,v 1.11 1999/07/06 15:05:49 sof Exp $
  *
  * (c) The GHC Team, 1998-1999
  *
@@ -9,6 +9,7 @@
 
 #include "Rts.h"
 #include "RtsAPI.h"
+#include "SchedAPI.h"
 #include "RtsFlags.h"
 #include "Weak.h"
 #include "Storage.h"