From 8cf6e22ca206c9e33836b667a32d2719b60ca08a Mon Sep 17 00:00:00 2001
From: sof <unknown>
Date: Tue, 6 Jul 1999 09:19:47 +0000
Subject: [PATCH] [project @ 1999-07-06 09:19:47 by sof] Don't include RtsAPI.h
 when compiling RTS.

---
 ghc/includes/Stg.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/ghc/includes/Stg.h b/ghc/includes/Stg.h
index 3932cd6c0e9b..332f515fdf18 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>
-- 
GitLab