diff --git a/ghc/includes/Stg.h b/ghc/includes/Stg.h
index 3932cd6c0e9b702e01aedfebc59c8a99133df9ca..332f515fdf18efd70c1036ef1f62d7b929bc9c55 100644
--- a/ghc/includes/Stg.h
+++ b/ghc/includes/Stg.h
@@ -1,5 +1,5 @@
 /* -----------------------------------------------------------------------------
- * $Id: Stg.h,v 1.15 1999/07/05 17:25:23 sof Exp $
+ * $Id: Stg.h,v 1.16 1999/07/06 09:19:47 sof Exp $
  *
  * (c) The GHC Team, 1998-1999
  *
@@ -103,7 +103,9 @@ void _stgAssert (char *, unsigned int);
 #include "TailCalls.h"
 
 /* RTS public interface */
+#ifndef COMPILING_RTS
 #include "RtsAPI.h"
+#endif
 
 /* these are all ANSI C headers */
 #include <stdlib.h>