summaryrefslogtreecommitdiff
path: root/ghc/rts/Disassembler.c
diff options
context:
space:
mode:
authorsimonmar <unknown>2002-07-17 09:21:51 +0000
committersimonmar <unknown>2002-07-17 09:21:51 +0000
commit7457757f193b28b5fe8fee01edbed012c2fda897 (patch)
tree2fc97b71a74138f210b9e76690693798f6259cca /ghc/rts/Disassembler.c
parent2790095b12b98c8d9407edc7fb3a6abe77de7d00 (diff)
downloadhaskell-7457757f193b28b5fe8fee01edbed012c2fda897.tar.gz
[project @ 2002-07-17 09:21:48 by simonmar]
Remove most #includes of system headers from Stg.h, and instead #include any required headers directly in each RTS source file. The idea is to (a) reduce namespace pollution from system headers that we don't need, (c) be clearer about dependencies on system things in the RTS, and (c) improve via-C compilation times (maybe). In practice though, HsBase.h #includes everything anyway, so the difference from the point of view of .hc source is minimal. However, this makes it easier to move to zero-includes if we wanted to (see discussion on the FFI list; I'm still not sure that's possible but at least this is a step in the right direction).
Diffstat (limited to 'ghc/rts/Disassembler.c')
-rw-r--r--ghc/rts/Disassembler.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/ghc/rts/Disassembler.c b/ghc/rts/Disassembler.c
index 0063a65e05..8b526c0af5 100644
--- a/ghc/rts/Disassembler.c
+++ b/ghc/rts/Disassembler.c
@@ -5,8 +5,8 @@
* Copyright (c) 1994-1998.
*
* $RCSfile: Disassembler.c,v $
- * $Revision: 1.24 $
- * $Date: 2001/08/14 13:40:09 $
+ * $Revision: 1.25 $
+ * $Date: 2002/07/17 09:21:49 $
* ---------------------------------------------------------------------------*/
#ifdef DEBUG
@@ -24,6 +24,8 @@
#include "Disassembler.h"
#include "Interpreter.h"
+#include <stdio.h>
+
/* --------------------------------------------------------------------------
* Disassembler
* ------------------------------------------------------------------------*/