[project @ 2002-12-23 11:02:15 by simonmar]
authorsimonmar <unknown>
Mon, 23 Dec 2002 11:02:15 +0000 (11:02 +0000)
committersimonmar <unknown>
Mon, 23 Dec 2002 11:02:15 +0000 (11:02 +0000)
commit0d7bfe8ec27efee649ec0c0b6915342ad0c9c111
treee2ea8dbdf6093768b96a1c6b8dc81ce5658d9752
parent7828f22403625d456e316dfc42f5a54d33c2390d
[project @ 2002-12-23 11:02:15 by simonmar]
Add the #includes from the rts package to the stub .c file.

Prior to rev. 1.42, we used to add all the #includes from all enabled
packages, together with any -#include options from the command-line.
But since this is auto-generated code and we know exactly which
#includes are required, this was overkill.

In rev. 1.42, all #includes except RtsAPI.h were removed from the stub
.c file.  This was incorrect, because the stub file refers to some
entities defined in other RTS header files (the StgStablePtr type, and
deRefStablePtr() for example).

This change adds the header files from the rts package to the stub .c
file, fixing some recent test breakages.
ghc/compiler/main/CodeOutput.lhs