• simonmar's avatar
    [project @ 2002-07-17 09:21:48 by simonmar] · 7457757f
    simonmar authored
    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).
MBlock.c 6.08 KB